on master help sign in
Fix TEST_QUICK_MODE syntax error
commit40d75167ae99242925227677f75f20ee943c50e3 authorHarendra Kumar <harendra@composewell.com> dateSun 31 Oct 2021, 09:13 (5 years ago) parenta25ad4a
2 files changed+2−2
benchmark/bench-report/bin/build-lib.sh+1−1 bin/test.sh+1−1
benchmark/bench-report/bin/build-lib.sh+1−1
@@ -120,7 +120,7 @@ set_targets() {
120120# $4: command to find
121121cabal_which_builddir() {
122122 local noopt=""
123− if test "$TEST_QUICK_MODE" -eq 1
123+ if test "$TEST_QUICK_MODE" = "1"
124124 then
125125 noopt="/noopt"
126126 fi
bin/test.sh+1−1
@@ -86,7 +86,7 @@ TARGET_EXE_ARGS=$*
8686
8787set_derived_vars
8888
89−if test "$TEST_QUICK_MODE" -eq 1
89+if test $TEST_QUICK_MODE -eq 1
9090then
9191 CABAL_BUILD_OPTIONS+=" --disable-optimization --flags -opt"
9292fi