summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2000-08-19 12:59:01 +0000
committerBruno Haible <bruno@clisp.org>2000-08-19 12:59:01 +0000
commit2efcd453efed0c71793c171b568fa822a7232b75 (patch)
treeeccbfe680efc27488b0aa0c827aaee87daca802f /tests
parent938c619a46357fdd36633b2af603b7bb42201a35 (diff)
downloadgperf-2efcd453efed0c71793c171b568fa822a7232b75.tar.gz
Use the newest gcc's input files for testing.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.in22
1 files changed, 14 insertions, 8 deletions
diff --git a/tests/Makefile.in b/tests/Makefile.in
index 1dd18f3..e947a36 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -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