aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-07-08 17:13:17 +0200
committerOmar Polo <op@omarpolo.com>2021-07-08 17:13:17 +0200
commitbffa7daab8d1a54cf099287cbc0ce443fea4c0d0 (patch)
tree53eaab97ccc3f011ff1c1be317b882e7d73dccc0
parent8c9b8f487e9efd3eab489d205fd55d97da34a6c3 (diff)
provide a means to skip the runtime tests
Setting the environment variable SKIP_RUNTIME_TESTS to 1 will prevent the runtime tests. This is useful when running the tests inside a sandbox. based on a similar diff by Anna "CyberTailor"
-rwxr-xr-xregress/runtime9
1 files changed, 9 insertions, 0 deletions
diff --git a/regress/runtime b/regress/runtime
index 6b8fdbb..b3fc52f 100755
--- a/regress/runtime
+++ b/regress/runtime
@@ -2,6 +2,15 @@
set -e
+if [ "${SKIP_RUNTIME_TESTS}" -eq 1 ]; then
+ echo
+ echo "======================"
+ echo "runtime tests skipped!"
+ echo "======================"
+ echo
+ exit 0
+fi
+
ggflags=
config_common='