diff options
author | baude <bbaude@redhat.com> | 2019-05-30 10:56:21 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-05-31 14:54:06 -0500 |
commit | d1c44ea8560c59d843f8550005050a5e09e2b062 (patch) | |
tree | a3bd01d5ae4b67d4cdae83ed975394149ad444ed /contrib/cirrus/container_test.sh | |
parent | 7358a4c590526cd656affd20db051dd6a852f3bb (diff) | |
download | podman-d1c44ea8560c59d843f8550005050a5e09e2b062.tar.gz podman-d1c44ea8560c59d843f8550005050a5e09e2b062.tar.bz2 podman-d1c44ea8560c59d843f8550005050a5e09e2b062.zip |
split rootless local and remote testing
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'contrib/cirrus/container_test.sh')
-rw-r--r-- | contrib/cirrus/container_test.sh | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/contrib/cirrus/container_test.sh b/contrib/cirrus/container_test.sh index 6bd925f17..a0542f4a0 100644 --- a/contrib/cirrus/container_test.sh +++ b/contrib/cirrus/container_test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -xeuo pipefail +set -xeo pipefail export GOPATH=/var/tmp/go export PATH=$HOME/gopath/bin:$PATH:$GOPATH/bin @@ -32,10 +32,10 @@ integrationtest=0 unittest=0 validate=0 options=0 -noremote=0 +remote=0 install_tools_made=0 -while getopts "bitnuv" opt; do +while getopts "bituv" opt; do case "$opt" in b) build=1 options=1 @@ -46,9 +46,6 @@ while getopts "bitnuv" opt; do t) integrationtest=1 options=1 ;; - n) noremote=1 - options=1 - ;; u) unittest=1 options=1 ;; @@ -58,6 +55,12 @@ while getopts "bitnuv" opt; do esac done +# The TEST_REMOTE_CLIENT environment variable decides whether +# to test varlinke +if [[ "$TEST_REMOTE_CLIENT" == "true" ]]; then + remote=1 +fi + # If no options are passed, do everything if [ $options -eq 0 ]; then build=1 @@ -131,7 +134,7 @@ if [ $integrationtest -eq 1 ]; then make TAGS="${TAGS}" test-binaries make varlink_generate make ginkgo $INTEGRATION_TEST_ENVS - if [ $noremote -eq 0 ]; then + if [ $remote -eq 1 ]; then make ginkgo-remote $INTEGRATION_TEST_ENVS fi fi |