summaryrefslogtreecommitdiff
path: root/apps/gperf/tests
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-16 02:52:57 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-16 02:52:57 +0000
commit67a43c44d1cbbf22e3bc1755afc0ad46c3b7b72d (patch)
tree9a93ce8470f4d872bf934cdb393e0de79fd4a3fc /apps/gperf/tests
parent4325fce39acf420d1daff04dfd273895a3fdd953 (diff)
downloadATCD-67a43c44d1cbbf22e3bc1755afc0ad46c3b7b72d.tar.gz
filter timestamps from test output so that diffs will pass
Diffstat (limited to 'apps/gperf/tests')
-rw-r--r--apps/gperf/tests/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/gperf/tests/Makefile b/apps/gperf/tests/Makefile
index 46ddf608443..e0030ebda52 100644
--- a/apps/gperf/tests/Makefile
+++ b/apps/gperf/tests/Makefile
@@ -58,15 +58,15 @@ all:
./pout -v < $(srcdir)/pascal.gperf > pascal.out
-diff -b $(srcdir)/pascal.exp pascal.out
# these next 5 are demos that show off the generated code
- $(GPERF) -p -j1 -o -t -N is_reserved_word -k1,3,'$$' < $(srcdir)/c-parse.gperf > test-1.out
+ $(GPERF) -p -j1 -o -t -N is_reserved_word -k1,3,'$$' < $(srcdir)/c-parse.gperf | egrep -v 'ing time is ' > test-1.out
-diff -b $(srcdir)/test-1.exp test-1.out
- $(GPERF) -n -k1-8 -l <$(srcdir)/modula2.gperf > test-2.out
+ $(GPERF) -n -k1-8 -l <$(srcdir)/modula2.gperf | egrep -v 'ing time is ' > test-2.out
-diff -b $(srcdir)/test-2.exp test-2.out
- $(GPERF) -p -j 1 -o -a -C -g -t -k1,4,$$ < $(srcdir)/gplus.gperf > test-3.out
+ $(GPERF) -p -j 1 -o -a -C -g -t -k1,4,$$ < $(srcdir)/gplus.gperf | egrep -v 'ing time is ' > test-3.out
-diff -b $(srcdir)/test-3.exp test-3.out
- $(GPERF) -D -p -t < $(srcdir)/c-parse.gperf > test-4.out
+ $(GPERF) -D -p -t < $(srcdir)/c-parse.gperf | egrep -v 'ing time is ' > test-4.out
-diff -b $(srcdir)/test-4.exp test-4.out
- $(GPERF) -g -o -j1 -t -p -N is_reserved_word < $(srcdir)/gpc.gperf > test-5.out
+ $(GPERF) -g -o -j1 -t -p -N is_reserved_word < $(srcdir)/gpc.gperf | egrep -v 'ing time is ' > test-5.out
-diff -b $(srcdir)/test-5.exp test-5.out
# prints out the help message
-$(GPERF) -a -h > test-6.out 2>&1 || [ a = a ]