Several fixes to 'deriving' including Trac #2378
[ghc-hetmet.git] / validate
index d4969ef..b2c6771 100644 (file)
--- a/validate
+++ b/validate
@@ -1,10 +1,10 @@
 #!/bin/sh
 
 # Flags:
-#   --no-clean:      don't make clean first, just carry on from
-#                    a previous interrupted validation run
-#   --testuite-only: don't build the compiler, just run
-#                    the test suite
+#   --no-clean:       don't make clean first, just carry on from
+#                     a previous interrupted validation run
+#   --testsuite-only: don't build the compiler, just run
+#                     the test suite
 
 set -e
 
@@ -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