aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-03-25 07:38:42 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-03-25 07:38:42 -0700
commitb73c9b0a964ae6f2e3af5e597d7f98244f552efb (patch)
treed8413a4f9b935488fe3f0c829f1b7704ab884305
parent595b367f6fd2d09e1489389ba999f73915309b5c (diff)
downloadcppawk-b73c9b0a964ae6f2e3af5e597d7f98244f552efb.tar.gz
cppawk-b73c9b0a964ae6f2e3af5e597d7f98244f552efb.tar.bz2
cppawk-b73c9b0a964ae6f2e3af5e597d7f98244f552efb.zip
Use awk for testsuite rather than cppawk.
There are ways in which cppawk can be fundamentally broken which will cause the test suite to appear to succeed, but without actually running any tests.
-rwxr-xr-xruntests4
-rwxr-xr-xtestsuite.awk (renamed from testsuite.cwk)2
2 files changed, 3 insertions, 3 deletions
diff --git a/runtests b/runtests
index e381779..77f0201 100755
--- a/runtests
+++ b/runtests
@@ -1,3 +1,3 @@
#!/bin/sh
-cppawk=./cppawk ./testsuite.cwk < testcases
-cppawk="./cppawk --nobash" ./testsuite.cwk < testcases
+cppawk=./cppawk ./testsuite.awk < testcases
+cppawk="./cppawk --nobash" ./testsuite.awk < testcases
diff --git a/testsuite.cwk b/testsuite.awk
index c70788c..2c9fd14 100755
--- a/testsuite.cwk
+++ b/testsuite.awk
@@ -1,4 +1,4 @@
-#!./cppawk -f
+#!/usr/bin/awk -f
BEGIN {
RS = "--\n"