mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
Use the newest gcc's input files for testing.
This commit is contained in:
12
ChangeLog
12
ChangeLog
@@ -1,5 +1,17 @@
|
||||
2000-08-19 Bruno Haible <bruno@linuix.math.u-bordeaux.fr>
|
||||
|
||||
* tests/c-parse.gperf: Updated from gcc-2.95.2/gcc/c-parse.gperf.
|
||||
* tests/objc.gperf: New file, from gcc-2.95.2/gcc/objc/objc.gperf.
|
||||
* tests/chill.gperf: New file, from gcc-2.95.2/gcc/ch/gperf.
|
||||
* tests/cplusplus.gperf: New file, from gcc-2.95.2/gcc/cp/gxx.gperf.
|
||||
* tests/gplus.gperf: Remove file.
|
||||
* tests/java.gperf: New file, from gcc-2.95.2/gcc/java/keyword.gperf.
|
||||
* tests/Makefile: Check them all.
|
||||
* tests/c-parse.exp: Renamed from tests/test-1.exp.
|
||||
* tests/modula2.exp: Renamed from tests/test-2.exp.
|
||||
* tests/cplusplus.exp: Renamed from tests/test-3.exp.
|
||||
* tests/gpc.exp: Renamed from tests/test-5.exp.
|
||||
|
||||
* src/key-list.cc (output_switch_case): Add trailing semicolon to
|
||||
lengthptr assignment line. Fixes bug with -D and -S.
|
||||
From Reini Urban <rurban@sbox.tu-graz.ac.at>. Also reported by
|
||||
|
||||
@@ -103,16 +103,22 @@ check-pascal:
|
||||
|
||||
# these next 5 are demos that show off the generated code
|
||||
check-test:
|
||||
$(GPERF) -p -j1 -g -o -t -N is_reserved_word -k1,3,'$$' < $(srcdir)/c-parse.gperf > test-1.out
|
||||
diff $(srcdir)/test-1.exp test-1.out
|
||||
$(GPERF) -n -k1-8 -l < $(srcdir)/modula2.gperf > test-2.out
|
||||
diff $(srcdir)/test-2.exp test-2.out
|
||||
$(GPERF) -p -j 1 -o -a -C -g -t -k1,4,$$ < $(srcdir)/gplus.gperf > test-3.out
|
||||
diff $(srcdir)/test-3.exp test-3.out
|
||||
$(GPERF) -L C -F ', 0, 0' -p -j1 -i 1 -g -o -t -G -N is_reserved_word -k1,3,'$$' < $(srcdir)/c-parse.gperf > c-parse.out
|
||||
diff $(srcdir)/c-parse.exp c-parse.out
|
||||
$(GPERF) -p -j1 -i 1 -g -o -t -N is_reserved_word -k1,3,'$$' < $(srcdir)/objc.gperf > objc.out
|
||||
diff $(srcdir)/objc.exp objc.out
|
||||
$(GPERF) -L C -F ', 0, 0, 0' -D -E -S1 -p -j1 -i 1 -g -o -t -k'*' < $(srcdir)/chill.gperf > chill.out
|
||||
diff $(srcdir)/chill.exp chill.out
|
||||
$(GPERF) -L C -F ', 0, 0' -p -j1 -g -o -t -N is_reserved_word -k1,4,7,'$$' < $(srcdir)/cplusplus.gperf > cplusplus.out
|
||||
diff $(srcdir)/cplusplus.exp cplusplus.out
|
||||
$(GPERF) -L C -F ', 0' -p -t -j1 -i 1 -g -o -N java_keyword -k1,3,'$$' < $(srcdir)/java.gperf > java.out
|
||||
diff $(srcdir)/java.exp java.out
|
||||
$(GPERF) -n -k1-8 -l < $(srcdir)/modula2.gperf > modula2.out
|
||||
diff $(srcdir)/modula2.exp modula2.out
|
||||
$(GPERF) -D -p -t < $(srcdir)/c-parse.gperf > test-4.out
|
||||
diff $(srcdir)/test-4.exp test-4.out
|
||||
$(GPERF) -g -o -j1 -t -p -N is_reserved_word < $(srcdir)/gpc.gperf > test-5.out
|
||||
diff $(srcdir)/test-5.exp test-5.out
|
||||
$(GPERF) -g -o -j1 -t -p -N is_reserved_word < $(srcdir)/gpc.gperf > gpc.out
|
||||
diff $(srcdir)/gpc.exp gpc.out
|
||||
# prints out the help message
|
||||
-$(GPERF) -h > test-6.out 2>&1
|
||||
diff $(srcdir)/test-6.exp test-6.out
|
||||
|
||||
Reference in New Issue
Block a user