]> thyrsus.com Git - cupl.git/commitdiff
Now passes all the tests from the manual.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 11 Nov 1994 23:05:23 +0000 (23:05 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 11 Nov 1994 23:05:23 +0000 (23:05 +0000)
Makefile
test/MAKEREGRESS
test/REGRESS

index 581aaac439c66017c5386375257930f37361b5af..bda9b59d0b2fb2b7f66731cab279c05331c603ff 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,8 @@
 #
 CDEBUG = -g
 
-YFLAGS = -vlt
-CFLAGS = $(CDEBUG) -D_POSIX_SOURCE -DYYDEBUG=1 -DPARSEDEBUG
+YFLAGS = -l    # add -vt for debugging
+CFLAGS = $(CDEBUG) -D_POSIX_SOURCE -DPARSEDEBUG        #  -DYYDEBUG=1
 
 SOURCES = cupl.[ylh] tokdump.c main.c interpret.c execute.c monitor.c nodetype.h
 
index e694aaafd84d48ac305c864c6409559dc8b482b8..0760ce188e8016c2bd34935808c85ca031fde0ff 100755 (executable)
@@ -6,15 +6,15 @@ TESTLOADS="cubic fancyquad poly11 power prime quadratic random rise simplequad s
 
 trap "rm -f testcupl$$; exit 0"
 
-rm -f *.parse
+rm -f *.test
 
 for x in $TESTLOADS
 do
-       echo "Making ${x}.parse from ${x}.cupl..."
-       ../cupl -v1 ${x}.cupl >${x}.parse 2>&1
+       echo "Making ${x}.test from ${x}.cupl..."
+       ../cupl -v1 ${x}.cupl >${x}.test 2>&1
 done
 
-chmod -w *.parse
+chmod -w *.test
 
 echo "Done"
 
index b62e3ddde78dd0f403193211916e9a2b97d2e5a7..a2776fec41a5a825c82c4776a6b9fa546ca4e886 100755 (executable)
@@ -10,7 +10,7 @@ for x in $TESTLOADS
 do
        echo "Testing against ${x}.cupl..."
        ../cupl -v1 ${x}.cupl >testcupl$$
-       diff -c ${x}.parse testcupl$$
+       diff -c ${x}.test testcupl$$
 done
 echo "Done"