mirror of
https://github.com/containers/podman.git
synced 2025-06-21 17:38:12 +08:00
skip userns tests on non-fedora distributions for now
Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
18
.papr.sh
18
.papr.sh
@ -6,6 +6,18 @@ export PATH=$HOME/gopath/bin:$PATH:$GOPATH/bin
|
|||||||
export GOSRC=$GOPATH/src/github.com/containers/libpod
|
export GOSRC=$GOPATH/src/github.com/containers/libpod
|
||||||
|
|
||||||
DIST=${DIST:=""}
|
DIST=${DIST:=""}
|
||||||
|
CONTAINER_RUNTIME=${DIST:=""}
|
||||||
|
|
||||||
|
source /etc/os-release
|
||||||
|
|
||||||
|
INTEGRATION_TEST_ENVS=""
|
||||||
|
|
||||||
|
# For all distributions not Fedora, we need to skip USERNS tests
|
||||||
|
# for now.
|
||||||
|
if [ "${ID}" != "fedora" ] || [ "${CONTAINER_RUNTIME}" != "" ]; then
|
||||||
|
INTEGRATION_TEST_ENVS="SKIP_USERNS=1"
|
||||||
|
fi
|
||||||
|
|
||||||
pwd
|
pwd
|
||||||
|
|
||||||
# -i install
|
# -i install
|
||||||
@ -121,11 +133,11 @@ fi
|
|||||||
# Run integration tests
|
# Run integration tests
|
||||||
if [ $integrationtest -eq 1 ]; then
|
if [ $integrationtest -eq 1 ]; then
|
||||||
make TAGS="${TAGS}" test-binaries
|
make TAGS="${TAGS}" test-binaries
|
||||||
SKIP_USERNS=1 make varlink_generate GOPATH=/go
|
make varlink_generate GOPATH=/go
|
||||||
if [ $runpython -eq 1 ]; then
|
if [ $runpython -eq 1 ]; then
|
||||||
SKIP_USERNS=1 make clientintegration GOPATH=/go
|
make clientintegration GOPATH=/go
|
||||||
fi
|
fi
|
||||||
SKIP_USERNS=1 make ginkgo GOPATH=/go
|
make ginkgo GOPATH=/go $INTEGRATION_TEST_ENVS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user