Skip to content

Commit

Permalink
Merge branch 'master' of github.com:commaai/panda into memxxx
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiasini committed Jul 3, 2019
2 parents db2eec9 + 8c11470 commit ebfe1c5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions run_automated_tests.sh
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit ebfe1c5

Please sign in to comment.