diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-04-16 08:28:58 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-04-16 08:28:58 -0700 |
commit | ab705c920ca68471f7664181feee534220fe40c4 (patch) | |
tree | fe985da56bf505906d4bf95278985301a0964dc2 | |
parent | 8beafd5dc2b663c26502816e3f72adb3de4655ff (diff) | |
download | cppawk-ab705c920ca68471f7664181feee534220fe40c4.tar.gz cppawk-ab705c920ca68471f7664181feee534220fe40c4.tar.bz2 cppawk-ab705c920ca68471f7664181feee534220fe40c4.zip |
testsuite: add mechanism for skipping specific tests.
-rwxr-xr-x | testsuite.awk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite.awk b/testsuite.awk index 27e3561..6ece65b 100755 --- a/testsuite.awk +++ b/testsuite.awk @@ -3,11 +3,17 @@ BEGIN { RS = "--\n" FS = ":\n" + split(skip, skiparray, /,/) + for (i in skiparray) + skipdict[skiparray[i]] } function runtest(id, code, output, failed) { + if (id in skipdict) + return + print code > "script.sh" print output > "output" |