3 if [ "$USE_LIGHTY" != "True" ]; then
4 ./build_karaf_for_tests.sh
8 if [ -z "$test_suite" ]; then
11 # Tox reinterprets "olm" and "pce" by "../olm" "../pce" because of the
12 # changedir directive and the presence of modules folders "olm" and pce"
14 if [ "$arg" = "../olm" ]; then
15 arglist=$arglist" olm"
16 elif [ "$arg" = "../pce" ]; then
17 arglist=$arglist" pce"
19 arglist=$arglist" "$arg
25 if [ -z "$arglist" ]; then
26 scriptlist="transportpce_tests/$test_suite/test[0-9][0-9]_*.py"
28 for test in $arglist; do
29 scriptlist=$scriptlist" transportpce_tests/$test_suite/test[0-9][0-9]_$test.py"
32 if [ -z "$LAUNCHER" ]; then
33 LAUNCHER="nosetests --with-xunit";
36 for script in $scriptlist; do
37 echo $LAUNCHER $(ls $script)
38 $LAUNCHER $script || exit 1