Skip to content

Commit 05ee25f

Browse files
committed
Build test: Add special test for INVERT_BREAK / RESET_PID_ON_BREAK
1 parent 824a8f1 commit 05ee25f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tools/compile_test.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
'SUPPORT_XCELL_RT',
3333
'SUPPORT_HRMI',
3434
'SUPPORT_BRAKE',
35+
'INVERT_BREAK',
36+
'RESET_PID_ON_BREAK',
3537
'SUPPORT_PROFILE_SWITCH_MENU',
3638
'SUPPORT_FIRST_AID_MENU',
3739
'SUPPORT_LIGHTS_SWITCH',
@@ -384,6 +386,18 @@ def test_throttle_auto_cruise(self):
384386
]
385387
)
386388

389+
def test_break_features(self):
390+
self.build_firmware(hardware_rev = 20,
391+
display_type='NOKIA_4PIN',
392+
serial_mode='DEBUG',
393+
features=[
394+
'SUPPORT_PAS',
395+
'SUPPORT_BRAKE',
396+
'INVERT_BREAK',
397+
'RESET_PID_ON_BREAK'
398+
]
399+
)
400+
387401
def test_max_config(self):
388402
self.build_firmware(hardware_rev = 5,
389403
display_type='NOKIA_4PIN',

0 commit comments

Comments
 (0)