#!/bin/sh
+if [ -n "$USE_ODL_ALT_KARAF_ENV" ]; then
+ echo "using environment variables from $USE_ODL_ALT_KARAF_ENV"
+ . $USE_ODL_ALT_KARAF_ENV
+fi
+
for arg in $@; do
if [ -z "$test_suite" ]; then
test_suite=$1
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