on master help sign in
Fix TEST_QUICK_MODE syntax error
40d7516Harendra Kumar
benchmark/bench-report/bin/build-lib.sh+1−1
@@ -120,7 +120,7 @@ set_targets() {
120# $4: command to find
120# $4: command to find
121cabal_which_builddir() {
121cabal_which_builddir() {
122 local noopt=""
122 local noopt=""
123− if test "$TEST_QUICK_MODE" -eq 1
123+ if test "$TEST_QUICK_MODE" = "1"
124 then
124 then
125 noopt="/noopt"
125 noopt="/noopt"
126 fi
126 fi
bin/test.sh+1−1
@@ -86,7 +86,7 @@ TARGET_EXE_ARGS=$*
86
86
87set_derived_vars
87set_derived_vars
88
88
89−if test "$TEST_QUICK_MODE" -eq 1
89+if test $TEST_QUICK_MODE -eq 1
90then
90then
91 CABAL_BUILD_OPTIONS+=" --disable-optimization --flags -opt"
91 CABAL_BUILD_OPTIONS+=" --disable-optimization --flags -opt"
92fi
92fi