aboutsummaryrefslogtreecommitdiffstats
path: root/runtests
Commit message (Collapse)AuthorAgeFilesLines
* Add function for shell quoting.Kaz Kylheku2023-06-261-0/+5
| | | | | | | | | | | | | * README.md: Mention <quote.h> and cppawk-quote man page. * share/cppawk/include/quote.h, * share/cppawk/include/quote-priv.h: New files. * testcases-quote: New file. * cppawk-quote.1: New file. * runtests: Add testcases-quote.
* Support "base" argument to runtests.Kaz Kylheku2022-07-171-1/+1
| | | | | | This allows ./runtests base to just run the tests in the testcases file, the same way that, for instance, ./runtests cons runs the testcases-cons tests.
* Skip some testcases-iter cases for mawk.Paul A. Patience2022-07-031-1/+1
| | | | | | | | Like the testcases-cons case skipped in commit 128f71061b50fb8d6e625be84e541e64f21daf13, these cases depend on the key ordering of arrays, which is evidently different in mawk 1.3.4-20200120 (the mawk with which these tests were detected as failing) and gawk.
* Skip #39 testcases-cons case for mawk.Kaz Kylheku2022-07-021-1/+1
| | | | | | | | | | | | Reported by Paul A. Patience. The test case depends on the order of keys in an associative array. This is not good, but be that as it may, the test case works for the Ubuntu 18 version of mawk (32 and 64 bit). It looks like Mawk has been changing something in its assoc array implementation, like the hashing function or whatever. Let's just skip mawk for that test. If it starts breaking for gawk, we will do a real fix.
* Restructure cppawk installation.Kaz Kylheku2022-07-021-15/+15
| | | | | | | | | cppawk now expects to be installed in some directory (typically "bin"), such that the include files are in a "share/cppawk/include" directory where "share" is a sibling of "bin". The git repository is restructured to match this shape; cppawk is moved into "bin", and the include files into "share/cppawk/include".
* New header: <array.h>Kaz Kylheku2022-04-251-0/+5
|
* New <field.h> header: positional parameter utils.Kaz Kylheku2022-04-221-0/+5
|
* Testcases for <varg.h>.Kaz Kylheku2022-04-221-0/+5
|
* cons: mapcar, mappend: doc, tests.Kaz Kylheku2022-04-161-1/+1
|
* start test cases for <cons.h> material.Kaz Kylheku2022-04-041-7/+22
| | | | | | Small documentation tweak. Numerous bugfixes as a result of testing: null, endp, stringp, symbolp, box, unbox, cdr, equal all found to have some issues.
* Iteration test cases.Kaz Kylheku2022-03-311-0/+3
|
* New public header <narg.h>.Kaz Kylheku2022-03-291-0/+4
|
* New <case.h> header and macro.Kaz Kylheku2022-03-271-2/+4
| | | | | | 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.
* runtests: remove script.sh and output.Kaz Kylheku2022-03-261-0/+1
|
* Use awk for testsuite rather than cppawk.Kaz Kylheku2022-03-251-2/+2
| | | | | | 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.
* Run all test cases with and without --nobash option.Kaz Kylheku2022-03-241-1/+2
|
* Add runtests script.Kaz Kylheku2022-03-181-0/+2