Tell the testsuite how many threads we want it to use when validating
authorIan Lynagh <igloo@earth.li>
Wed, 11 Jun 2008 15:54:56 +0000 (15:54 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 11 Jun 2008 15:54:56 +0000 (15:54 +0000)
validate

index 8f0f543..b2c6771 100644 (file)
--- a/validate
+++ b/validate
@@ -54,8 +54,7 @@ sh boot
 make Validating=YES -j$threads
 fi # testsuite-only
 
-# ToDo: use THREADS=$threads, see #1558
-make Validating=YES -C testsuite/tests/ghc-regress fast stage=2 CLEANUP=1 2>&1 | tee testlog
+make Validating=YES -C testsuite/tests/ghc-regress fast stage=2 CLEANUP=1 THREADS=$threads 2>&1 | tee testlog
 
 echo "-------------------------------------------------------------------"
 if