diff --git a/run_automated_tests.sh b/run_automated_tests.sh index 92ccbe84942806..4805c67fe77035 100755 --- a/run_automated_tests.sh +++ b/run_automated_tests.sh @@ -1,9 +1,11 @@ #!/bin/bash TEST_FILENAME=${TEST_FILENAME:-nosetests.xml} -if [ ! -f "/EON" ]; then +if [ -f "/EON" ]; then TESTSUITE_NAME="Panda_Test-EON" + TEST_SCRIPTS=$(ls tests/automated/$1*.py | grep -v "wifi") else TESTSUITE_NAME="Panda_Test-DEV" + TEST_SCRIPTS=$(ls tests/automated/$1*.py) fi cd boardesp @@ -16,4 +18,4 @@ do nmcli connection delete "$NAME" done -PYTHONPATH="." python $(which nosetests) -v --with-xunit --xunit-file=./$TEST_FILENAME --xunit-testsuite-name=$TESTSUITE_NAME -s tests/automated/$1*.py +PYTHONPATH="." python $(which nosetests) -v --with-xunit --xunit-file=./$TEST_FILENAME --xunit-testsuite-name=$TESTSUITE_NAME -s $TEST_SCRIPTS