Fix TEST_QUICK_MODE syntax error

This commit is contained in:
Harendra Kumar 2021-10-31 09:13:32 +05:30
parent a25ad4a91d
commit 40d75167ae
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ set_targets() {
# $4: command to find
cabal_which_builddir() {
local noopt=""
if test "$TEST_QUICK_MODE" -eq 1
if test "$TEST_QUICK_MODE" = "1"
then
noopt="/noopt"
fi

View File

@ -86,7 +86,7 @@ TARGET_EXE_ARGS=$*
set_derived_vars
if test "$TEST_QUICK_MODE" -eq 1
if test $TEST_QUICK_MODE -eq 1
then
CABAL_BUILD_OPTIONS+=" --disable-optimization --flags -opt"
fi