mirror of https://github.com/commaai/panda.git
15 lines
346 B
Bash
Executable File
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
|