build_release: run tests with pytest
old-commit-hash: 2bad3c29d99ed6f037e40489f450d72e1e28dd27
This commit is contained in:
@@ -90,9 +90,9 @@ TEST_FILES="tools/"
|
|||||||
cd $SOURCE_DIR
|
cd $SOURCE_DIR
|
||||||
cp -pR -n --parents $TEST_FILES $BUILD_DIR/
|
cp -pR -n --parents $TEST_FILES $BUILD_DIR/
|
||||||
cd $BUILD_DIR
|
cd $BUILD_DIR
|
||||||
RELEASE=1 selfdrive/test/test_onroad.py
|
RELEASE=1 pytest -n0 -s selfdrive/test/test_onroad.py
|
||||||
#system/manager/test/test_manager.py
|
#system/manager/test/test_manager.py
|
||||||
selfdrive/car/tests/test_car_interfaces.py
|
pytest selfdrive/car/tests/test_car_interfaces.py
|
||||||
rm -rf $TEST_FILES
|
rm -rf $TEST_FILES
|
||||||
|
|
||||||
if [ ! -z "$RELEASE_BRANCH" ]; then
|
if [ ! -z "$RELEASE_BRANCH" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user