aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-07-17 18:57:02 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-07-17 18:57:02 -0700
commit9991e59f7d3b816a00ed79f9034743d703976dc1 (patch)
tree9b3240a51e49d60ae524367348ae2992f41499ae
parent5293e86e5185b959a442633c93445ecfde107d1e (diff)
downloadcppawk-9991e59f7d3b816a00ed79f9034743d703976dc1.tar.gz
cppawk-9991e59f7d3b816a00ed79f9034743d703976dc1.tar.bz2
cppawk-9991e59f7d3b816a00ed79f9034743d703976dc1.zip
Support "base" argument to runtests.
This allows ./runtests base to just run the tests in the testcases file, the same way that, for instance, ./runtests cons runs the testcases-cons tests.
-rwxr-xr-xruntests2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtests b/runtests
index e685db1..961bc19 100755
--- a/runtests
+++ b/runtests
@@ -3,7 +3,7 @@ trap 'rm -f output script.sh' EXIT INT TERM
suite=$1
-if [ -z "$suite" ] ; then
+if [ -z "$suite" -o "$suite" = "base" ] ; then
cppawk=./bin/cppawk ./testsuite.awk testcases
cppawk="./bin/cppawk --nobash" ./testsuite.awk testcases
fi