summaryrefslogtreecommitdiff
path: root/contrib/cirrus/system_test.sh
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-11-19 05:14:30 -0800
committerGitHub <noreply@github.com>2018-11-19 05:14:30 -0800
commit47ffaae840157dba421b018738416a3e4cc56a04 (patch)
treea28baead9adc61ec604cb7b22f99bfd4829a95bf /contrib/cirrus/system_test.sh
parentcd5742ff47f2650e1f33dd485485cd5027500955 (diff)
parent8b3fcb374ba15ee1d56f4b9c5ebd6e9372575471 (diff)
downloadpodman-47ffaae840157dba421b018738416a3e4cc56a04.tar.gz
podman-47ffaae840157dba421b018738416a3e4cc56a04.tar.bz2
podman-47ffaae840157dba421b018738416a3e4cc56a04.zip
Merge pull request #1780 from cevich/un-magic
Reveal magic, parallel system-testing and system-testing simplification
Diffstat (limited to 'contrib/cirrus/system_test.sh')
-rwxr-xr-xcontrib/cirrus/system_test.sh33
1 files changed, 33 insertions, 0 deletions
diff --git a/contrib/cirrus/system_test.sh b/contrib/cirrus/system_test.sh
new file mode 100755
index 000000000..7c727d336
--- /dev/null
+++ b/contrib/cirrus/system_test.sh
@@ -0,0 +1,33 @@
+#!/bin/bash
+
+set -e
+source $(dirname $0)/lib.sh
+
+req_env_var "
+GOSRC $GOSRC
+OS_RELEASE_ID $OS_RELEASE_ID
+OS_RELEASE_VER $OS_RELEASE_VER
+"
+
+show_env_vars
+
+set -x
+cd "$GOSRC"
+
+case "${OS_RELEASE_ID}-${OS_RELEASE_VER}" in
+ ubuntu-18)
+ make install.tools "BUILDTAGS=$BUILDTAGS"
+ make "BUILDTAGS=$BUILDTAGS"
+ make test-binaries "BUILDTAGS=$BUILDTAGS"
+ ;;
+ fedora-28) ;&
+ centos-7) ;&
+ rhel-7)
+ make install.tools
+ make
+ make test-binaries
+ ;;
+ *) bad_os_id_ver ;;
+esac
+
+make localsystem