From 962c19cd1a6d93bf93544a5b8200e83766ae4dc5 Mon Sep 17 00:00:00 2001 From: Csaba Hruska Date: Sat, 3 Feb 2018 01:56:03 +0100 Subject: restrict ghc instances for 2 --- run-test-suite.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run-test-suite.sh b/run-test-suite.sh index 996e7d6d..883705da 100755 --- a/run-test-suite.sh +++ b/run-test-suite.sh @@ -4,7 +4,7 @@ UNIT_TEST_PARAMS="--quickcheck-max-size 30 --quickcheck-tests 100" if [ "$1" == "--profile" ] ; then shift - stack build --profile --flag lambdacube-compiler:testsuite --flag lambdacube-compiler:profiling --flag lambdacube-compiler:-cli + stack build --profile --flag lambdacube-compiler:testsuite --flag lambdacube-compiler:profiling --flag lambdacube-compiler:-cli -j2 set +e RESULT_UNITTESTS=0 stack exec lambdacube-compiler-test-suite -- -r -iperformance -i.ignore $@ +RTS -p @@ -12,7 +12,7 @@ if [ "$1" == "--profile" ] ; then elif [ "$1" == "--coverage" ] ; then shift set +e - stack build --flag lambdacube-compiler:coverage --flag lambdacube-compiler:alltest + stack build --flag lambdacube-compiler:coverage --flag lambdacube-compiler:alltest -j2 stack exec lambdacube-compiler-unit-tests -- $UNIT_TEST_PARAMS RESULT_UNITTESTS=`echo $?` stack exec lambdacube-compiler-coverage-test-suite -- -iperformance -i.ignore -r $@ @@ -21,7 +21,7 @@ elif [ "$1" == "--coverage" ] ; then rm lambdacube-compiler-coverage-test-suite.tix else set +e - stack build --flag lambdacube-compiler:alltest + stack build --flag lambdacube-compiler:alltest -j2 stack exec lambdacube-compiler-unit-tests -- $UNIT_TEST_PARAMS RESULT_UNITTESTS=`echo $?` stack exec lambdacube-compiler-test-suite -- -iperformance -i.ignore -r $@ -- cgit v1.2.3