Several fixes to 'deriving' including Trac #2378
[ghc-hetmet.git] / validate
index 20436d3..b2c6771 100644 (file)
--- a/validate
+++ b/validate
@@ -49,13 +49,12 @@ else
 fi
 
 sh boot
-./configure $config_args
+./configure "--prefix=`pwd`/inst" $config_args
 
 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