summaryrefslogtreecommitdiff
path: root/contrib/cirrus/unit_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cirrus/unit_test.sh')
-rwxr-xr-xcontrib/cirrus/unit_test.sh15
1 files changed, 14 insertions, 1 deletions
diff --git a/contrib/cirrus/unit_test.sh b/contrib/cirrus/unit_test.sh
index 202663fb7..50801a8e4 100755
--- a/contrib/cirrus/unit_test.sh
+++ b/contrib/cirrus/unit_test.sh
@@ -9,4 +9,17 @@ set -x
cd "$GOSRC"
make install.tools
make localunit
-make
+
+case "$SPECIALMODE" in
+ in_podman) ;&
+ rootless) ;&
+ none)
+ make
+ ;;
+ windows) ;&
+ darwin)
+ make podman-remote-$SPECIALMODE
+ ;;
+ *)
+ die 109 "Unsupported \$SPECIAL_MODE: $SPECIALMODE"
+esac