Article View: gnu.g++.lib.bug
Article #46Bug in gperf/test/Makefile.in
From: Jason Merrill
Date: Sat, 28 Mar 1992 23:52
Date: Sat, 28 Mar 1992 23:52
140 lines
6519 bytes
6519 bytes
Several of the test files in gperf/test are named expected.out.[1-9]. When you run make clean in this directory, make executes an rm *out*, which wipes them out. Fix: mmv expected.out.\? expected.=1 and: *** libg++!gperf!tests!Makefile.in~ Sat Mar 7 16:06:06 1992 --- libg++/gperf/tests/Makefile.in Sat Mar 28 15:40:00 1992 *************** *** 61,67 -diff -b $(srcdir)/expected.pascal output.pascal # these next 5 are demos that show off the generated code $(GPERF) -p -j1 -g -o -t -N is_reserved_word -k1,3,'$$' < $(srcdir)/c-parse.gperf > test.out.1 ! -diff -b $(srcdir)/expected.out.1 test.out.1 $(GPERF) -n -k1-8 -l <$(srcdir)/modula2.gperf > test.out.2 -diff -b $(srcdir)/expected.out.2 test.out.2 $(GPERF) -p -j 1 -o -a -g -t -k1,4,$$ < $(srcdir)/gplus.gperf > test.out.3 --- 61,67 ----- -diff -b $(srcdir)/expected.pascal output.pascal # these next 5 are demos that show off the generated code $(GPERF) -p -j1 -g -o -t -N is_reserved_word -k1,3,'$$' < $(srcdir)/c-parse.gperf > test.out.1 ! -diff -b $(srcdir)/expected.1 test.out.1 $(GPERF) -n -k1-8 -l <$(srcdir)/modula2.gperf > test.out.2 -diff -b $(srcdir)/expected.2 test.out.2 $(GPERF) -p -j 1 -o -a -g -t -k1,4,$$ < $(srcdir)/gplus.gperf > test.out.3 *************** *** 63,69 $(GPERF) -p -j1 -g -o -t -N is_reserved_word -k1,3,'$$' < $(srcdir)/c-parse.gperf > test.out.1 -diff -b $(srcdir)/expected.out.1 test.out.1 $(GPERF) -n -k1-8 -l <$(srcdir)/modula2.gperf > test.out.2 ! -diff -b $(srcdir)/expected.out.2 test.out.2 $(GPERF) -p -j 1 -o -a -g -t -k1,4,$$ < $(srcdir)/gplus.gperf > test.out.3 -diff -b $(srcdir)/expected.out.3 test.out.3 $(GPERF) -D -p -t < $(srcdir)/c-parse.gperf > test.out.4 --- 63,69 ----- $(GPERF) -p -j1 -g -o -t -N is_reserved_word -k1,3,'$$' < $(srcdir)/c-parse.gperf > test.out.1 -diff -b $(srcdir)/expected.1 test.out.1 $(GPERF) -n -k1-8 -l <$(srcdir)/modula2.gperf > test.out.2 ! -diff -b $(srcdir)/expected.2 test.out.2 $(GPERF) -p -j 1 -o -a -g -t -k1,4,$$ < $(srcdir)/gplus.gperf > test.out.3 -diff -b $(srcdir)/expected.3 test.out.3 $(GPERF) -D -p -t < $(srcdir)/c-parse.gperf > test.out.4 *************** *** 65,71 $(GPERF) -n -k1-8 -l <$(srcdir)/modula2.gperf > test.out.2 -diff -b $(srcdir)/expected.out.2 test.out.2 $(GPERF) -p -j 1 -o -a -g -t -k1,4,$$ < $(srcdir)/gplus.gperf > test.out.3 ! -diff -b $(srcdir)/expected.out.3 test.out.3 $(GPERF) -D -p -t < $(srcdir)/c-parse.gperf > test.out.4 -diff -b $(srcdir)/expected.out.4 test.out.4 $(GPERF) -g -o -j1 -t -p -N is_reserved_word < $(srcdir)/gpc.gperf > test.out.5 --- 65,71 ----- $(GPERF) -n -k1-8 -l <$(srcdir)/modula2.gperf > test.out.2 -diff -b $(srcdir)/expected.2 test.out.2 $(GPERF) -p -j 1 -o -a -g -t -k1,4,$$ < $(srcdir)/gplus.gperf > test.out.3 ! -diff -b $(srcdir)/expected.3 test.out.3 $(GPERF) -D -p -t < $(srcdir)/c-parse.gperf > test.out.4 -diff -b $(srcdir)/expected.4 test.out.4 $(GPERF) -g -o -j1 -t -p -N is_reserved_word < $(srcdir)/gpc.gperf > test.out.5 *************** *** 67,73 $(GPERF) -p -j 1 -o -a -g -t -k1,4,$$ < $(srcdir)/gplus.gperf > test.out.3 -diff -b $(srcdir)/expected.out.3 test.out.3 $(GPERF) -D -p -t < $(srcdir)/c-parse.gperf > test.out.4 ! -diff -b $(srcdir)/expected.out.4 test.out.4 $(GPERF) -g -o -j1 -t -p -N is_reserved_word < $(srcdir)/gpc.gperf > test.out.5 -diff -b $(srcdir)/expected.out.5 test.out.5 # prints out the help message --- 67,73 ----- $(GPERF) -p -j 1 -o -a -g -t -k1,4,$$ < $(srcdir)/gplus.gperf > test.out.3 -diff -b $(srcdir)/expected.3 test.out.3 $(GPERF) -D -p -t < $(srcdir)/c-parse.gperf > test.out.4 ! -diff -b $(srcdir)/expected.4 test.out.4 $(GPERF) -g -o -j1 -t -p -N is_reserved_word < $(srcdir)/gpc.gperf > test.out.5 -diff -b $(srcdir)/expected.5 test.out.5 # prints out the help message *************** *** 69,75 $(GPERF) -D -p -t < $(srcdir)/c-parse.gperf > test.out.4 -diff -b $(srcdir)/expected.out.4 test.out.4 $(GPERF) -g -o -j1 -t -p -N is_reserved_word < $(srcdir)/gpc.gperf > test.out.5 ! -diff -b $(srcdir)/expected.out.5 test.out.5 # prints out the help message -$(GPERF) -h > test.out.6 2>&1 || [ a = a ] -diff -b $(srcdir)/expected.out.6 test.out.6 --- 69,75 ----- $(GPERF) -D -p -t < $(srcdir)/c-parse.gperf > test.out.4 -diff -b $(srcdir)/expected.4 test.out.4 $(GPERF) -g -o -j1 -t -p -N is_reserved_word < $(srcdir)/gpc.gperf > test.out.5 ! -diff -b $(srcdir)/expected.5 test.out.5 # prints out the help message -$(GPERF) -h > test.out.6 2>&1 || [ a = a ] -diff -b $(srcdir)/expected.6 test.out.6 *************** *** 72,78 -diff -b $(srcdir)/expected.out.5 test.out.5 # prints out the help message -$(GPERF) -h > test.out.6 2>&1 || [ a = a ] ! -diff -b $(srcdir)/expected.out.6 test.out.6 @echo "only if, do, for, case, goto, else, while, and return should be found " ./aout -v < $(srcdir)/c.gperf > test.out.7 -diff -b $(srcdir)/expected.out.7 test.out.7 --- 72,78 ----- -diff -b $(srcdir)/expected.5 test.out.5 # prints out the help message -$(GPERF) -h > test.out.6 2>&1 || [ a = a ] ! -diff -b $(srcdir)/expected.6 test.out.6 @echo "only if, do, for, case, goto, else, while, and return should be found " ./aout -v < $(srcdir)/c.gperf > test.out.7 -diff -b $(srcdir)/expected.7 test.out.7 *************** *** 75,81 -diff -b $(srcdir)/expected.out.6 test.out.6 @echo "only if, do, for, case, goto, else, while, and return should be found " ./aout -v < $(srcdir)/c.gperf > test.out.7 ! -diff -b $(srcdir)/expected.out.7 test.out.7 .PHONY: clean clean: --- 75,81 ----- -diff -b $(srcdir)/expected.6 test.out.6 @echo "only if, do, for, case, goto, else, while, and return should be found " ./aout -v < $(srcdir)/c.gperf > test.out.7 ! -diff -b $(srcdir)/expected.7 test.out.7 .PHONY: clean clean: -- Jason Merrill jason@jarthur.claremont.edu
Technical Details
Message-ID:
<1992Mar28.235236.7540@muddcs.claremont.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!jarthur.claremont.edu!jasonShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!jarthur.claremont.edu!jason From: jason@jarthur.claremont.edu (Jason Merrill) Subject: Bug in gperf/test/Makefile.in Message-ID: <1992Mar28.235236.7540@muddcs.claremont.edu> Sender: gnulists@ai.mit.edu Organization: Harvey Mudd College Distribution: gnu Date: Sat, 28 Mar 1992 23:52:36 GMT Approved: bug-lib-g++@prep.ai.mit.edu Lines: 141