Files
dragonpilot/panda/run_automated_tests.sh
T
Vehicle Researcher 0829b0a767 Merge panda subtree
2019-06-06 04:31:46 +00:00

15 lines
346 B
Bash
Executable File

#!/bin/bash
TEST_FILENAME=${TEST_FILENAME:-nosetests.xml}
if [ ! -f "/EON" ]; then
TESTSUITE_NAME="Panda_Test-EON"
else
TESTSUITE_NAME="Panda_Test-DEV"
fi
cd boardesp
make flashall
cd ..
PYTHONPATH="." python $(which nosetests) -v --with-xunit --xunit-file=./$TEST_FILENAME --xunit-testsuite-name=$TESTSUITE_NAME -s tests/automated/$1*.py