X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Flaunch_tests.sh;h=63beeb52887a007137409092f8e18964893bad8b;hb=d2dec393655be843f063f11fba63a8c6d002bbc0;hp=a2f3f1997ddd50e7c02b198161c05aa9f687ea12;hpb=cf3a29d3e9f11331a9cab1a4dc59b0e0d96ac9c0;p=transportpce.git diff --git a/tests/launch_tests.sh b/tests/launch_tests.sh index a2f3f1997..63beeb528 100755 --- a/tests/launch_tests.sh +++ b/tests/launch_tests.sh @@ -31,7 +31,11 @@ else done fi if [ -z "$LAUNCHER" ]; then - LAUNCHER="nosetests --with-xunit"; + 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