diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-03-27 23:42:26 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-03-27 23:42:26 -0700 |
commit | 23249ef206ef23760e814cb9f8170e7ae93dabcc (patch) | |
tree | 89a6aa1b17ad433ddb739c65f85e840fd7d041d0 /runtests | |
parent | 0801dbaee02a811a412f22a71f9f869c90554f24 (diff) | |
download | cppawk-23249ef206ef23760e814cb9f8170e7ae93dabcc.tar.gz cppawk-23249ef206ef23760e814cb9f8170e7ae93dabcc.tar.bz2 cppawk-23249ef206ef23760e814cb9f8170e7ae93dabcc.zip |
New <case.h> header and macro.
This provides a portable case statement implemented directly
as switch on GNU Awk, and using other approaches on other Awks
that do not have switch.
Diffstat (limited to 'runtests')
-rwxr-xr-x | runtests | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,6 @@ #!/bin/sh trap 'rm -f output script.sh' EXIT INT TERM -cppawk=./cppawk ./testsuite.awk < testcases -cppawk="./cppawk --nobash" ./testsuite.awk < testcases +cppawk=./cppawk ./testsuite.awk testcases +cppawk="./cppawk --nobash" ./testsuite.awk testcases +cppawk=./cppawk ./testsuite.awk testcases-case +cppawk="./cppawk --awk=mawk" ./testsuite.awk testcases-case |