diff options
| author | gareuselesinge | 2013-10-03 09:09:29 +0000 |
|---|---|---|
| committer | gareuselesinge | 2013-10-03 09:09:29 +0000 |
| commit | e47c9a9ddfc26f4f2416cbb0c74cf1bacb9ed97f (patch) | |
| tree | 7607e05507a0fb8d5085a4d790fefae994644c16 /test-suite/Makefile | |
| parent | f626b7a90c641ac3fb40d8acf37a8985df2480a9 (diff) | |
Regression test suite for STM
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16840 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite/Makefile')
| -rw-r--r-- | test-suite/Makefile | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/test-suite/Makefile b/test-suite/Makefile index 5d1f822363..f47b0aa0c9 100644 --- a/test-suite/Makefile +++ b/test-suite/Makefile @@ -68,7 +68,7 @@ BUGS := bugs/opened/shouldnotfail bugs/opened/shouldnotsucceed \ bugs/closed VSUBSYSTEMS := prerequisite success failure $(BUGS) output \ - interactive micromega $(COMPLEXITY) modules + interactive micromega $(COMPLEXITY) modules stm # All subsystems SUBSYSTEMS := $(VSUBSYSTEMS) misc bugs ide @@ -127,6 +127,7 @@ summary: $(call summary_dir, "Miscellaneous tests", misc); \ $(call summary_dir, "Complexity tests", complexity); \ $(call summary_dir, "Module tests", modules); \ + $(call summary_dir, "STM tests", stm); \ $(call summary_dir, "IDE tests", ide); \ nb_success=`find . -name '*.log' -exec tail -n2 '{}' \; | grep -e $(log_success) | wc -l`; \ nb_failure=`find . -name '*.log' -exec tail -n2 '{}' \; | grep -e $(log_failure) | wc -l`; \ @@ -230,6 +231,23 @@ $(addsuffix .log,$(wildcard success/*.v micromega/*.v modules/*.v)): %.v.log: %. fi; \ } > "$@" +stm: $(wildcard stm/*.v:%.v=%.v.log) +$(addsuffix .log,$(wildcard stm/*.v)): %.v.log: %.v + @echo "TEST $<" + $(HIDE){ \ + echo $(call log_intro,$<); \ + $(coqc) "$*" -coq-slaves on \ + -coq-slaves-opts fallback-to-lazy-if-marshal-error=no,fallback-to-lazy-if-slave-dies=no \ + $$opts 2>&1; R=$$?; times; \ + if [ $$R = 0 ]; then \ + echo $(log_success); \ + echo " $<...Ok"; \ + else \ + echo $(log_failure); \ + echo " $<...Error! (should be accepted)"; \ + fi; \ + } > "$@" + $(addsuffix .log,$(wildcard failure/*.v)): %.v.log: %.v @echo "TEST $<" $(HIDE){ \ |
