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 <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Chen Qi 2025-06-11 15:23:42 +08:00 committed by Bruce Ashfield
parent e52eefb2f5
commit a8175deded
2 changed files with 1 additions and 39 deletions

View File

@ -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

View File

@ -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 \
"