mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-26 13:33:52 +08:00
* Jenkins test refactor and black panda addition * Added HW types needed by previous commit * Fixed ignition interrupts when not on EON build * Added functions for load switches * More test scripts for black panda * Added NONE power mode to the code * Fixed race condition when setting GPIO pins was interrupted. * Added relay test script * Fixed flashing with critical sections and GPS load switch * Fixing critical depth after reboot * Made the loopback test asserting * Made critical depth a local variable to avoid race conditions * Added GPS to power savings mode * Fixed DFU mode on white panda and bumped version * Fixed PEDAL_USB compilation error * Fixed misra compliance of new critical depth code * Cleaned up heartbeat logic in the testing code. Re-added ALL_CAN_BUT_MAIN_SILENT. Bumped version. Improved critical section code. * Fixed DFU flashing (once again) * Fixed VERSION * Added relay endurance test * Changed to alloutput on ELM mode for fingerprinting. * Fixed minor remarks
14 lines
304 B
Python
14 lines
304 B
Python
import os
|
|
from panda import Panda
|
|
from helpers import panda_type_to_serial, test_white_and_grey, test_all_pandas, panda_connect_and_init
|
|
|
|
@test_all_pandas
|
|
@panda_connect_and_init
|
|
def test_recover(p):
|
|
assert p.recover(timeout=30)
|
|
|
|
@test_all_pandas
|
|
@panda_connect_and_init
|
|
def test_flash(p):
|
|
p.flash()
|