diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-07-28 12:13:15 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-07-28 12:13:15 +0000 |
commit | 04d0d602ef7245fd566debd91bcb148acd9ed067 (patch) | |
tree | 77a11f3e551303521aa72af1e63cea0285bcd1bc /test/regression/Makefile | |
parent | b8e535ccf82385573f80f6d146c04892b25ea0a6 (diff) | |
download | compcert-04d0d602ef7245fd566debd91bcb148acd9ed067.tar.gz compcert-04d0d602ef7245fd566debd91bcb148acd9ed067.zip |
PowerPC port: refactored the expansion of built-in functions and
pseudo-instructions so that it does not need to be re-done in
cchecklink.
cchecklink: updated accordingly.
testsuite: compile with -sdump and run cchecklink if supported.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2553 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test/regression/Makefile')
-rw-r--r-- | test/regression/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test/regression/Makefile b/test/regression/Makefile index 189dbd8c..35836766 100644 --- a/test/regression/Makefile +++ b/test/regression/Makefile @@ -2,6 +2,10 @@ include ../../Makefile.config CCOMP=../../ccomp CCOMPFLAGS=-stdlib ../../runtime -dparse -dc -dclight -dasm -fall +ifeq ($(CCHECKLINK),true) +CCHECK=../../cchecklink +CCOMPFLAGS+= -sdump +endif LIBS=$(LIBMATH) @@ -48,7 +52,7 @@ all_s: $(TESTS:%=%.s) $(TESTS_COMP:%=%.s) $(TESTS_DIFF:%=%.s) $(EXTRAS:%=%.s) clean: rm -f *.compcert - rm -f *.parsed.c *.compcert.c *.light.c *.s *.o *~ + rm -f *.parsed.c *.compcert.c *.light.c *.s *.o *.sdump *~ test: @for i in $(TESTS) $(TESTS_COMP); do \ @@ -81,3 +85,10 @@ test: done bench: + +ccheck: + @for i in $(TESTS) $(TESTS_COMP); do \ + echo "---- $$i"; \ + $(CCHECK) -exe $$i.compcert $$i.sdump; \ + done + |