Skip to content

Commit

Permalink
fix test_helper
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Luar <[email protected]>
  • Loading branch information
luarss committed Sep 7, 2024
1 parent c2d1f28 commit bf2731b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions flow/test/test_helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ fi
# Run Autotuner CI specifically for gcd/selected platforms.
RUN_AUTOTUNER=0
case $DESIGN_NAME in
"gcd")
"gcd" "aes" "ibex")
RUN_AUTOTUNER=1
;;
esac
Expand All @@ -103,12 +103,10 @@ if [ $RUN_AUTOTUNER -eq 1 ]; then
PLATFORM=${PLATFORM//-/}
# convert to uppercase
PLATFORM=${PLATFORM^^}
DESIGN_NAME=${DESIGN_NAME^^}

echo "Running Autotuner smoke tune test"
python3 -m unittest tools.AutoTuner.test.smoke_test_tune.${PLATFORM}TuneSmokeTest.test_tune

echo "Running Autotuner smoke sweep test"
python3 -m unittest tools.AutoTuner.test.smoke_test_sweep.${PLATFORM}SweepSmokeTest.test_sweep
echo "Running Autotuner Regression Test"
python3 -m unittest tools.AutoTuner.test.regression_tune_base.${PLATFORM}TuneRegression${DESIGN_NAME}Test.test_tune
fi

exit $ret

0 comments on commit bf2731b

Please sign in to comment.