Skip to content

Commit 0344d37

Browse files
committed
ci: match format used in groovy
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent 9b98009 commit 0344d37

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

flow/test/test_helper.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,17 @@ set -x
8181
# Run Autotuner CI specifically for gcd on selected platforms.
8282
if [ -z "${RUN_AUTOTUNER+x}" ]; then
8383
echo "RUN_AUTOTUNER not set, disable AT test."
84-
RUN_AUTOTUNER=0
84+
RUN_AUTOTUNER="false"
8585
fi
8686

87-
if [ $RUN_AUTOTUNER -eq 1 ]; then
87+
if [ "${RUN_AUTOTUNER}" == "true" ]; then
8888
case $DESIGN_NAME in
8989
"gcd")
9090
# Keep RUN_AUTOTUNER enabled only for these designs
9191
;;
9292
"*")
9393
echo "Disable AT test for design ${DESIGN_NAME}."
94-
RUN_AUTOTUNER=0
94+
RUN_AUTOTUNER="false"
9595
;;
9696
esac
9797
case $PLATFORM in
@@ -100,12 +100,12 @@ if [ $RUN_AUTOTUNER -eq 1 ]; then
100100
;;
101101
*)
102102
echo "Disable AT test for platform ${PLATFORM}."
103-
RUN_AUTOTUNER=0
103+
RUN_AUTOTUNER="false"
104104
;;
105105
esac
106106
fi
107107

108-
if [ $RUN_AUTOTUNER -eq 1 ]; then
108+
if [ "${RUN_AUTOTUNER}" == "true" ]; then
109109
set +x
110110
echo "Start AutoTuner test."
111111
./test_autotuner.sh

0 commit comments

Comments
 (0)