Added ulimit to test script because lol debugging

This commit is contained in:
Vidar Holen 2012-11-19 23:24:24 -08:00
parent 807ecbd038
commit 0d34f2dedd
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#!/bin/bash #!/bin/bash
# Todo: Find a way to make this not suck. # Todo: Find a way to make this not suck.
ulimit -t 60 # Sometimes GHC ends in a spin loop, and this is easier than debugging
[[ -e test/quackCheck.hs ]] || { echo "Are you running me from the wrong directory?"; exit 1; } [[ -e test/quackCheck.hs ]] || { echo "Are you running me from the wrong directory?"; exit 1; }
[[ $1 == -v ]] && pattern="" || pattern="FAIL" [[ $1 == -v ]] && pattern="" || pattern="FAIL"