summaryrefslogtreecommitdiff
path: root/tests/run_script_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run_script_test.sh')
-rwxr-xr-xtests/run_script_test.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/run_script_test.sh b/tests/run_script_test.sh
index 9e7d085..a6ccfa8 100755
--- a/tests/run_script_test.sh
+++ b/tests/run_script_test.sh
@@ -30,6 +30,15 @@ check()
fi
}
+case $expected in
+ good)
+ export APLWC_FAILSIM_STRICT=1
+ ;;
+ bad)
+ export APLWC_FAILSIM_STRICT=0
+ ;;
+esac
+
"$1"
check $?