diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-04-04 21:08:50 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-04-04 21:08:50 -0700 |
commit | f0f66890cc79338265ccd384288b73080ff2c939 (patch) | |
tree | 9c4496cd9be50f59b7940a74ba6e9cac4bcf744f /runtests | |
parent | fc1c70004db5ebf8e4124ee1bc655ad0358e8a6f (diff) | |
download | cppawk-f0f66890cc79338265ccd384288b73080ff2c939.tar.gz cppawk-f0f66890cc79338265ccd384288b73080ff2c939.tar.bz2 cppawk-f0f66890cc79338265ccd384288b73080ff2c939.zip |
start test cases for <cons.h> material.
Small documentation tweak. Numerous bugfixes as a result of
testing: null, endp, stringp, symbolp, box, unbox, cdr,
equal all found to have some issues.
Diffstat (limited to 'runtests')
-rwxr-xr-x | runtests | 29 |
1 files changed, 22 insertions, 7 deletions
@@ -1,13 +1,28 @@ #!/bin/sh trap 'rm -f output script.sh' EXIT INT TERM -cppawk=./cppawk ./testsuite.awk testcases -cppawk="./cppawk --nobash" ./testsuite.awk testcases +suite=$1 -cppawk=./cppawk ./testsuite.awk testcases-case -cppawk="./cppawk --awk=mawk" ./testsuite.awk testcases-case +if [ -z "$suite" ] ; then + cppawk=./cppawk ./testsuite.awk testcases + cppawk="./cppawk --nobash" ./testsuite.awk testcases +fi -cppawk=./cppawk ./testsuite.awk testcases-narg +if [ -z "$suite" -o "$suite" = "case" ] ; then + cppawk=./cppawk ./testsuite.awk testcases-case + cppawk="./cppawk --awk=mawk" ./testsuite.awk testcases-case +fi -cppawk=./cppawk ./testsuite.awk testcases-iter -cppawk="./cppawk --awk=mawk" ./testsuite.awk testcases-iter +if [ -z "$suite" -o "$suite" = "narg" ] ; then + cppawk=./cppawk ./testsuite.awk testcases-narg +fi + +if [ -z "$suite" -o "$suite" = "iter" ] ; then + cppawk=./cppawk ./testsuite.awk testcases-iter + cppawk="./cppawk --awk=mawk" ./testsuite.awk testcases-iter +fi + +if [ -z "$suite" -o "$suite" = "cons" ] ; then + cppawk=./cppawk ./testsuite.awk testcases-cons + cppawk="./cppawk --awk=mawk" ./testsuite.awk testcases-cons +fi |