From f8aa6ea1528d1b293709389787d033165f4d78b0 Mon Sep 17 00:00:00 2001 From: Jean Simatic <jean.simatic@hawai.tech> Date: Thu, 19 Oct 2023 15:08:27 +0200 Subject: [PATCH] Fix test syntax --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index c290837..8279865 100755 --- a/setup.sh +++ b/setup.sh @@ -123,7 +123,7 @@ for module_name in "${ordered_list[@]}"; do done # Top level test -if [[ "${OPT_PYTHON_MODULES}" == "y" -a "${OPT_WITH_TESTS}" == "ON" ]]; then +if [ "${OPT_PYTHON_MODULES}" == "y" ] && [ "${OPT_WITH_TESTS}" == "ON" ]; then echo "Running tutorials" python -m pip install matplotlib nbconvert ipykernel -v python -m nbconvert --to script --execute examples/tutorials/Aidge_tutorial/load_and_run.ipynb -- GitLab