Merge "Complement sims configuration files"
[transportpce.git] / tests / launch_tests.sh
index 54d1cd1033eb34aca16125e960b430bfd71d2718..63beeb52887a007137409092f8e18964893bad8b 100755 (executable)
@@ -31,7 +31,11 @@ else
     done
 fi
 if [ -z "$LAUNCHER" ]; then
-    LAUNCHER="python3 -m pytest -q";
+    if [ -d "allure-report" ]; then
+        LAUNCHER="python3 -m pytest --alluredir=allure-report/ -q"
+    else
+        LAUNCHER="python3 -m pytest -q"
+    fi
 fi
 
 for script in $scriptlist; do