Use work-stealing for load-balancing in the GC
[ghc.git] / quickcheck / run.sh
1 #!/bin/sh
2
3 # I suck at bash scripting. Please feel free to make this code better.
4
5 Root=../compiler
6
7 ExtraOptions="-cpp -fglasgow-exts -package ghc"
8
9 HC=$Root/stage2/ghc-inplace
10
11 Debug="False"
12
13 if [ "$1" == "debug" ]
14 then
15 Debug="True"
16 fi
17
18 if [ "$1" == "ghci" ]
19 then
20 $HC --interactive $ExtraOptions $2
21 else
22 $HC --interactive -e "runUnitTests $Debug" $ExtraOptions RunTests.hs
23 fi