From 40d75167ae99242925227677f75f20ee943c50e3 Mon Sep 17 00:00:00 2001 From: Harendra Kumar Date: Sun, 31 Oct 2021 09:13:32 +0530 Subject: [PATCH] Fix TEST_QUICK_MODE syntax error --- benchmark/bench-report/bin/build-lib.sh | 2 +- bin/test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmark/bench-report/bin/build-lib.sh b/benchmark/bench-report/bin/build-lib.sh index fb7a15991..82c77c5e9 100644 --- a/benchmark/bench-report/bin/build-lib.sh +++ b/benchmark/bench-report/bin/build-lib.sh @@ -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 diff --git a/bin/test.sh b/bin/test.sh index 079ae0d6c..dd7c8d75a 100755 --- a/bin/test.sh +++ b/bin/test.sh @@ -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