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 56310bc36..004839f17 100755
--- a/contrib/cirrus/unit_test.sh
+++ b/contrib/cirrus/unit_test.sh
@@ -9,4 +9,17 @@ req_env_var GOSRC
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