From a8175deded4decb9b889901caabb48bf8c4edc73 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Wed, 11 Jun 2025 15:23:42 +0800 Subject: [PATCH] podman: remove ptest The ptest was added almost three years ago and since then nobody ever fixed anything. It's almost impossible that the ptest never failed. As an evidence, for the current version, the test cases cannot even run. Remove this ptest. People who care about podman ptest should be maintaining it. Signed-off-by: Chen Qi Signed-off-by: Bruce Ashfield --- recipes-containers/podman/podman/run-ptest | 13 ----------- recipes-containers/podman/podman_git.bb | 27 +--------------------- 2 files changed, 1 insertion(+), 39 deletions(-) delete mode 100644 recipes-containers/podman/podman/run-ptest diff --git a/recipes-containers/podman/podman/run-ptest b/recipes-containers/podman/podman/run-ptest deleted file mode 100644 index 108ff451..00000000 --- a/recipes-containers/podman/podman/run-ptest +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# SPDX-FileCopyrightText: Huawei Inc. -# -# SPDX-License-Identifier: MIT - -# -# Podman system tests -# - -# The system tests don't need any go related variables. Dummy-define them to -# avoid useless warnings/errors. -GOOS=undefined GO=true BUILDTAGS= make localsystem diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb index 46c6c969..8d8e0f05 100644 --- a/recipes-containers/podman/podman_git.bb +++ b/recipes-containers/podman/podman_git.bb @@ -20,7 +20,6 @@ SRCREV = "227df90eb7c021097c9ba5f8000c83648a598028" SRC_URI = " \ git://github.com/containers/libpod.git;branch=v5.4;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \ ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'file://50-podman-rootless.conf', '', d)} \ - file://run-ptest \ " LICENSE = "Apache-2.0" @@ -55,7 +54,7 @@ export BUILDFLAGS = "${GOBUILDFLAGS}" inherit go goarch inherit container-host -inherit systemd pkgconfig ptest +inherit systemd pkgconfig do_configure[noexec] = "1" @@ -128,17 +127,6 @@ do_install() { fi } -do_install_ptest () { - cp ${S}/src/import/Makefile ${D}${PTEST_PATH} - install -d ${D}${PTEST_PATH}/test - cp -r ${S}/src/import/test/system ${D}${PTEST_PATH}/test - - # Some compatibility links for the Makefile assumptions. - install -d ${D}${PTEST_PATH}/bin - ln -s ${bindir}/podman ${D}${PTEST_PATH}/bin/podman - ln -s ${bindir}/podman-remote ${D}${PTEST_PATH}/bin/podman-remote -} - FILES:${PN} += " \ ${systemd_unitdir}/system/* \ ${nonarch_libdir}/systemd/* \ @@ -169,16 +157,3 @@ RRECOMMENDS:${PN} += "slirp4netns \ kernel-module-xt-tcpudp \ " RCONFLICTS:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'docker', 'docker', '', d)}" - -RDEPENDS:${PN}-ptest += " \ - bash \ - bats \ - buildah \ - coreutils \ - file \ - gnupg \ - jq \ - make \ - skopeo \ - tar \ -"