diff options
author | Andor Penzes <andor.penzes@gmail.com> | 2016-01-29 00:10:04 +0100 |
---|---|---|
committer | Andor Penzes <andor.penzes@gmail.com> | 2016-01-29 00:10:27 +0100 |
commit | 3e78099cf6d67779e7e58907c59278a8c8a931cd (patch) | |
tree | dd89dfc212533413d54e554d7244492291742b42 /run-test-suite.sh | |
parent | 314087b9ef065816f7af00b2700e000c693bd34b (diff) |
Set quickcheck parameters in tasty tests and add MaxDB monoid tests.
Diffstat (limited to 'run-test-suite.sh')
-rwxr-xr-x | run-test-suite.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/run-test-suite.sh b/run-test-suite.sh index f1169049..ac02ea33 100755 --- a/run-test-suite.sh +++ b/run-test-suite.sh | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/bin/bash -e | 1 | #!/bin/bash -e |
2 | 2 | ||
3 | UNIT_TEST_PARAMS="--quickcheck-max-size 30 --quickcheck-tests 100" | ||
4 | |||
3 | if [ "$1" == "--profile" ] ; then | 5 | if [ "$1" == "--profile" ] ; then |
4 | shift | 6 | shift |
5 | cabal install --only-dependencies --enable-library-profiling --enable-executable-profiling | 7 | cabal install --only-dependencies --enable-library-profiling --enable-executable-profiling |
@@ -13,7 +15,7 @@ elif [ "$1" == "--coverage" ] ; then | |||
13 | set +e | 15 | set +e |
14 | cabal install --only-dependencies | 16 | cabal install --only-dependencies |
15 | cabal configure --flags "coverage" | 17 | cabal configure --flags "coverage" |
16 | cabal run lambdacube-compiler-unit-tests | 18 | cabal run lambdacube-compiler-unit-tests -- $UNIT_TEST_PARAMS |
17 | RESULT_UNITTESTS=`echo $?` | 19 | RESULT_UNITTESTS=`echo $?` |
18 | cabal run lambdacube-compiler-coverage-test-suite -- -r $@ | 20 | cabal run lambdacube-compiler-coverage-test-suite -- -r $@ |
19 | RESULT_TESTS=`echo $?` | 21 | RESULT_TESTS=`echo $?` |
@@ -22,7 +24,7 @@ elif [ "$1" == "--coverage" ] ; then | |||
22 | else | 24 | else |
23 | set +e | 25 | set +e |
24 | cabal install --only-dependencies -j1 | 26 | cabal install --only-dependencies -j1 |
25 | cabal run lambdacube-compiler-unit-tests | 27 | cabal run lambdacube-compiler-unit-tests -- $UNIT_TEST_PARAMS |
26 | RESULT_UNITTESTS=`echo $?` | 28 | RESULT_UNITTESTS=`echo $?` |
27 | cabal run lambdacube-compiler-test-suite -- -r $@ | 29 | cabal run lambdacube-compiler-test-suite -- -r $@ |
28 | RESULT_TESTS=`echo $?` | 30 | RESULT_TESTS=`echo $?` |