aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar glondu <glondu@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-04-10 22:53:52 +0000
committerGravatar glondu <glondu@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-04-10 22:53:52 +0000
commitffa867c4b33c7b52e72ce005cd8183d8e51f310b (patch)
treeed1427167d44464bd6bfd89bbb8b9cd511620196
parent905f0e3065ee6b5c1aea4e31d6a4150951cc5261 (diff)
Run parallelized test-suite in "check" target of main Makefile
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12926 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--Makefile.build8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.build b/Makefile.build
index 0ac6b1f39..8ded28301 100644
--- a/Makefile.build
+++ b/Makefile.build
@@ -358,10 +358,12 @@ validate:: $(BESTCHICKEN) $(ALLVO)
$(SHOW)'COQCHK <theories & plugins>'
$(HIDE)$(BESTCHICKEN) -boot $(VALIDOPTS) $(ALLMODS)
+MAKE_TSOPTS=-C test-suite -s BEST=$(BEST) VERBOSE=$(VERBOSE)
+
check:: world
- cd test-suite; \
- env COQBIN=../bin COQLIB=.. ./check -$(BEST) | tee check.log
- if grep -F 'Error!' test-suite/check.log ; then false; fi
+ $(MAKE) $(MAKE_TSOPTS) clean
+ $(MAKE) $(MAKE_TSOPTS) all
+ $(HIDE)if grep -F 'Error!' test-suite/summary.log ; then false; fi
##################################################################
# partial targets: 1) core ML parts