summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2025-06-11 15:23:42 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2025-06-12 10:40:41 -0400
commita8175deded4decb9b889901caabb48bf8c4edc73 (patch)
treebbfe1b0610a01f972f1f00e7879f6191cc1924b7
parente52eefb2f552474900e619a0b8a0ec1a8a0698ef (diff)
downloadmeta-virtualization-a8175deded4decb9b889901caabb48bf8c4edc73.tar.gz
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>
-rw-r--r--recipes-containers/podman/podman/run-ptest13
-rw-r--r--recipes-containers/podman/podman_git.bb27
2 files changed, 1 insertions, 39 deletions
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 @@
1#!/bin/sh
2
3# SPDX-FileCopyrightText: Huawei Inc.
4#
5# SPDX-License-Identifier: MIT
6
7#
8# Podman system tests
9#
10
11# The system tests don't need any go related variables. Dummy-define them to
12# avoid useless warnings/errors.
13GOOS=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"
20SRC_URI = " \ 20SRC_URI = " \
21 git://github.com/containers/libpod.git;branch=v5.4;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \ 21 git://github.com/containers/libpod.git;branch=v5.4;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
22 ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'file://50-podman-rootless.conf', '', d)} \ 22 ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'file://50-podman-rootless.conf', '', d)} \
23 file://run-ptest \
24" 23"
25 24
26LICENSE = "Apache-2.0" 25LICENSE = "Apache-2.0"
@@ -55,7 +54,7 @@ export BUILDFLAGS = "${GOBUILDFLAGS}"
55 54
56inherit go goarch 55inherit go goarch
57inherit container-host 56inherit container-host
58inherit systemd pkgconfig ptest 57inherit systemd pkgconfig
59 58
60do_configure[noexec] = "1" 59do_configure[noexec] = "1"
61 60
@@ -128,17 +127,6 @@ do_install() {
128 fi 127 fi
129} 128}
130 129
131do_install_ptest () {
132 cp ${S}/src/import/Makefile ${D}${PTEST_PATH}
133 install -d ${D}${PTEST_PATH}/test
134 cp -r ${S}/src/import/test/system ${D}${PTEST_PATH}/test
135
136 # Some compatibility links for the Makefile assumptions.
137 install -d ${D}${PTEST_PATH}/bin
138 ln -s ${bindir}/podman ${D}${PTEST_PATH}/bin/podman
139 ln -s ${bindir}/podman-remote ${D}${PTEST_PATH}/bin/podman-remote
140}
141
142FILES:${PN} += " \ 130FILES:${PN} += " \
143 ${systemd_unitdir}/system/* \ 131 ${systemd_unitdir}/system/* \
144 ${nonarch_libdir}/systemd/* \ 132 ${nonarch_libdir}/systemd/* \
@@ -169,16 +157,3 @@ RRECOMMENDS:${PN} += "slirp4netns \
169 kernel-module-xt-tcpudp \ 157 kernel-module-xt-tcpudp \
170 " 158 "
171RCONFLICTS:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'docker', 'docker', '', d)}" 159RCONFLICTS:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'docker', 'docker', '', d)}"
172
173RDEPENDS:${PN}-ptest += " \
174 bash \
175 bats \
176 buildah \
177 coreutils \
178 file \
179 gnupg \
180 jq \
181 make \
182 skopeo \
183 tar \
184"