diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-12-24 20:28:14 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-12-24 20:28:14 +0200 |
commit | 969ee3cbf2255a508eca008c0b25d8a1f09bdeb3 (patch) | |
tree | 0b84e4b61613a2f07bc11b243120d2e57a66bd84 /test/badbuild.awk | |
parent | 0585c4e6f3d68846d56fe766675099b539e2cba9 (diff) | |
download | egawk-969ee3cbf2255a508eca008c0b25d8a1f09bdeb3.tar.gz egawk-969ee3cbf2255a508eca008c0b25d8a1f09bdeb3.tar.bz2 egawk-969ee3cbf2255a508eca008c0b25d8a1f09bdeb3.zip |
New test for bad builds (with non-bison).
Diffstat (limited to 'test/badbuild.awk')
-rw-r--r-- | test/badbuild.awk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/badbuild.awk b/test/badbuild.awk new file mode 100644 index 00000000..12a6caeb --- /dev/null +++ b/test/badbuild.awk @@ -0,0 +1,6 @@ +$1 == $2 == $3 { + print "Gawk was built incorrectly." + print "Use bison, not byacc or something else!" + print "(Really, why aren't you using the awkgram.c in the distribution?)" + exit 42 +} |