HITL tests: enable flashing tests on tres

This commit is contained in:
Adeeb Shihadeh 2023-06-11 19:56:09 -07:00
parent 4850b13797
commit adc0c12f7b
4 changed files with 4 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -94,7 +94,7 @@ pipeline {
phone_steps("panda-tres", [
["build", "scons -j4"],
["flash", "cd tests/ && ./ci_reset_internal_hw.py"],
["test", "cd tests/hitl && HW_TYPES=9 pytest --durations=0 2*.py [5-9]*.py"],
["test", "cd tests/hitl && HW_TYPES=9 pytest --durations=0 [0-2]*.py [5-9]*.py"],
])
}
}

View File

@ -57,7 +57,7 @@ def test_a_known_bootstub(p):
check_signature(p)
assert not p.bootstub
@pytest.mark.execution_timeout(15)
@pytest.mark.execution_timeout(25)
def test_b_recover(p):
assert p.recover(timeout=30)
check_signature(p)

View File

@ -145,6 +145,8 @@ def func_fixture_panda(request, module_panda):
if p.bootstub:
p.reset()
assert not p.bootstub
# TODO: would be nice to make these common checks in the teardown
# show up as failed tests instead of "errors"

BIN
tests/hitl/known_bootstub/bootstub.panda_h7.bin Normal file → Executable file

Binary file not shown.