From ab705c920ca68471f7664181feee534220fe40c4 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 16 Apr 2022 08:28:58 -0700 Subject: testsuite: add mechanism for skipping specific tests. --- testsuite.awk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'testsuite.awk') 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" -- cgit v1.2.3