From c8bc3766a92c14725a1ebbcccd6d5ccec7e645f7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 11 Nov 1994 23:05:23 +0000 Subject: [PATCH] Now passes all the tests from the manual. --- Makefile | 4 ++-- test/MAKEREGRESS | 8 ++++---- test/REGRESS | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 581aaac..bda9b59 100644 --- 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 diff --git a/test/MAKEREGRESS b/test/MAKEREGRESS index e694aaa..0760ce1 100755 --- a/test/MAKEREGRESS +++ b/test/MAKEREGRESS @@ -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" diff --git a/test/REGRESS b/test/REGRESS index b62e3dd..a2776fe 100755 --- a/test/REGRESS +++ b/test/REGRESS @@ -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" -- 2.43.0