aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-07-02 17:21:10 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-07-02 17:21:10 -0700
commit128f71061b50fb8d6e625be84e541e64f21daf13 (patch)
treecfc3e2c780baca883abfda8102f2640ca8453d90
parentef05d75b892c16d0aa0c082a7fab4e6361555e79 (diff)
downloadcppawk-128f71061b50fb8d6e625be84e541e64f21daf13.tar.gz
cppawk-128f71061b50fb8d6e625be84e541e64f21daf13.tar.bz2
cppawk-128f71061b50fb8d6e625be84e541e64f21daf13.zip
Skip #39 testcases-cons case for mawk.
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.
-rwxr-xr-xruntests2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtests b/runtests
index f060349..2e3c9f1 100755
--- a/runtests
+++ b/runtests
@@ -29,7 +29,7 @@ fi
if [ -z "$suite" -o "$suite" = "cons" ] ; then
cppawk=./bin/cppawk ./testsuite.awk testcases-cons
- cppawk="./bin/cppawk --awk=mawk" ./testsuite.awk -v skip=37,38 testcases-cons
+ cppawk="./bin/cppawk --awk=mawk" ./testsuite.awk -v skip=37,38,39 testcases-cons
fi
if [ -z "$suite" -o "$suite" = "field" ] ; then