summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCsaba Hruska <csaba.hruska@gmail.com>2018-02-03 01:56:03 +0100
committerCsaba Hruska <csaba.hruska@gmail.com>2018-02-03 01:56:03 +0100
commit962c19cd1a6d93bf93544a5b8200e83766ae4dc5 (patch)
treef1492e4778b5751b0336521933d20a2961ead96b
parentaa2d7cb8fc3edc63a5c05b37362d2ba0aebb0f0e (diff)
restrict ghc instances for 2
-rwxr-xr-xrun-test-suite.sh6
1 files 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"
4 4
5if [ "$1" == "--profile" ] ; then 5if [ "$1" == "--profile" ] ; then
6 shift 6 shift
7 stack build --profile --flag lambdacube-compiler:testsuite --flag lambdacube-compiler:profiling --flag lambdacube-compiler:-cli 7 stack build --profile --flag lambdacube-compiler:testsuite --flag lambdacube-compiler:profiling --flag lambdacube-compiler:-cli -j2
8 set +e 8 set +e
9 RESULT_UNITTESTS=0 9 RESULT_UNITTESTS=0
10 stack exec lambdacube-compiler-test-suite -- -r -iperformance -i.ignore $@ +RTS -p 10 stack exec lambdacube-compiler-test-suite -- -r -iperformance -i.ignore $@ +RTS -p
@@ -12,7 +12,7 @@ if [ "$1" == "--profile" ] ; then
12elif [ "$1" == "--coverage" ] ; then 12elif [ "$1" == "--coverage" ] ; then
13 shift 13 shift
14 set +e 14 set +e
15 stack build --flag lambdacube-compiler:coverage --flag lambdacube-compiler:alltest 15 stack build --flag lambdacube-compiler:coverage --flag lambdacube-compiler:alltest -j2
16 stack exec lambdacube-compiler-unit-tests -- $UNIT_TEST_PARAMS 16 stack exec lambdacube-compiler-unit-tests -- $UNIT_TEST_PARAMS
17 RESULT_UNITTESTS=`echo $?` 17 RESULT_UNITTESTS=`echo $?`
18 stack exec lambdacube-compiler-coverage-test-suite -- -iperformance -i.ignore -r $@ 18 stack exec lambdacube-compiler-coverage-test-suite -- -iperformance -i.ignore -r $@
@@ -21,7 +21,7 @@ elif [ "$1" == "--coverage" ] ; then
21 rm lambdacube-compiler-coverage-test-suite.tix 21 rm lambdacube-compiler-coverage-test-suite.tix
22else 22else
23 set +e 23 set +e
24 stack build --flag lambdacube-compiler:alltest 24 stack build --flag lambdacube-compiler:alltest -j2
25 stack exec lambdacube-compiler-unit-tests -- $UNIT_TEST_PARAMS 25 stack exec lambdacube-compiler-unit-tests -- $UNIT_TEST_PARAMS
26 RESULT_UNITTESTS=`echo $?` 26 RESULT_UNITTESTS=`echo $?`
27 stack exec lambdacube-compiler-test-suite -- -iperformance -i.ignore -r $@ 27 stack exec lambdacube-compiler-test-suite -- -iperformance -i.ignore -r $@