diff --git a/docs/user/InstructionsForAutoTuner.md b/docs/user/InstructionsForAutoTuner.md index b7eb374317..7972d97bef 100644 --- a/docs/user/InstructionsForAutoTuner.md +++ b/docs/user/InstructionsForAutoTuner.md @@ -198,6 +198,21 @@ We show three different views possible at the end, namely: `Table View`, `Scatte ![Parallel Coordinate View](../images/Autotuner_best_parameter_view.webp)
Parallel Coordinate View (best run is in green)
+## Tests + +The tests can be run assuming you have the virtual environment set up. +At a glance, we have: +- Smoke tests: `--tune`, `--sweep` + +``` +./tools/AutoTuner/installer.sh +cd tools/AutoTuner/tests + +# Smoke tests +python smoke_test_tune.py +python smoke_test_sweep.py +``` + ## Citation diff --git a/flow/test/test_helper.sh b/flow/test/test_helper.sh index 478b3aaa9d..29bb13ad94 100755 --- a/flow/test/test_helper.sh +++ b/flow/test/test_helper.sh @@ -83,6 +83,7 @@ if [ $RUN_AUTOTUNER -eq 1 ]; then ./tools/AutoTuner/installer.sh . .venv/bin/activate + # Remove dashes and capitalize platform name PLATFORM=${PLATFORM//-/} PLATFORM=${PLATFORM^^}