summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/test
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hs-test/test')
-rwxr-xr-xextras/hs-test/test16
1 files changed, 15 insertions, 1 deletions
diff --git a/extras/hs-test/test b/extras/hs-test/test
index 0bccc871711..cd0a6e176f5 100755
--- a/extras/hs-test/test
+++ b/extras/hs-test/test
@@ -1,4 +1,18 @@
#!/usr/bin/env bash
source vars
-sudo -E go test -buildvcs=false -v $@
+
+for ARG in "$@"
+do
+ if [[ "$ARG" = "-p" ]]
+ then
+ export HST_PERSIST=1
+ shift
+ elif [[ "$ARG" = "-v" ]]
+ then
+ export HST_VERBOSE=1
+ shift
+ fi
+done
+
+sudo -E go test -buildvcs=false -v $@