summaryrefslogtreecommitdiff
path: root/common/tests/Makefile
diff options
context:
space:
mode:
authorschodet2007-05-09 09:39:54 +0000
committerschodet2007-05-09 09:39:54 +0000
commit53cfc0aeabc8acbbc886716cee0c82deea195018 (patch)
tree65c724dca6dba7ca831ef969cfbb8ec73d22c9f4 /common/tests/Makefile
parent2b8a927fc1e4c5491d731a589b20d06e52509ef5 (diff)
Added new test system.
Added ccache support. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@93 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'common/tests/Makefile')
-rw-r--r--common/tests/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/common/tests/Makefile b/common/tests/Makefile
index 89e09aa29a..753a038c63 100644
--- a/common/tests/Makefile
+++ b/common/tests/Makefile
@@ -1,17 +1,20 @@
BASE = ../..
RUN_TEST = run-test.pl
-all: tests.all
+all: tests.all.brief
.PHONY: tests.all
tests.all: tests $(RUN_TEST)
- perl $(RUN_TEST) $(BASE) $< > $@ 2>&1
+ perl $(RUN_TEST) $(BASE) < $< > $@ 2>&1
clean: tests.clean
- rm -f tests.all tests.clean
+ rm -f tests.all.brief tests.all tests.clean
.PHONY: tests.clean
tests.clean: tests $(RUN_TEST)
- perl $(RUN_TEST) clean $(BASE) $< > $@ 2>&1
+ perl $(RUN_TEST) $(BASE) clean < $< > $@ 2>&1
+
+%.brief: %
+ grep '^==' < $< > $@