mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-12-01 16:43:40 +08:00
Repair CI fixtures after Card and UI changes
This commit is contained in:
@@ -39,11 +39,11 @@ def native_template(tmp_path_factory, request):
|
||||
timers = (ROOT / 'panda/board/drivers/timers.h').read_text()
|
||||
timer_check = timers[timers.index('bool timer_check('):timers.index('\nvoid interrupt_timer_init(')]
|
||||
interrupts = (ROOT / 'panda/board/drivers/interrupts.h').read_text()
|
||||
interrupts = interrupts[interrupts.index('static void unused_interrupt_handler'):]
|
||||
interrupts = interrupts[interrupts.index('static void unused_interrupt_handler'):interrupts.index('#endif // BOARD_DRIVERS_INTERRUPTS_H')]
|
||||
sys = (ROOT / 'panda/board/sys/sys.h').read_text()
|
||||
faults = sys[sys.index('#define FAULT_STATUS_NONE'):sys.index('// ******************** power_saving')]
|
||||
fault_impl = (ROOT / 'panda/board/sys/faults.h').read_text()
|
||||
faults += fault_impl[fault_impl.index('uint8_t fault_status'):]
|
||||
faults += fault_impl[fault_impl.index('uint8_t fault_status'):fault_impl.index('#endif // BOARD_SYS_FAULTS_H')]
|
||||
code = r'''
|
||||
#include "opendbc/safety/tests/libsafety/safety.c"
|
||||
uint32_t heartbeat_counter, heartbeat_tick_counter, uptime_cnt, ignition_can_cnt, wake_on_can_cnt;
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"protected_inventory_sha256": "b98964d19057291306da4bc7b734281def0f1ad7bf9b7002343843e347018bb9", "schema_version": 1}
|
||||
{"protected_inventory_sha256": "9ecf7ff0e3a1d1292bc4e4ec99225755b1bdfd0a678329094f974832b97829f2", "schema_version": 1}
|
||||
|
||||
@@ -10,123 +10,123 @@
|
||||
"basis": "Existing exact capability guard, preserved from8b9338a0; skipped remains unavailable, never passed",
|
||||
"guard": "real_xapk",
|
||||
"reason": "Skipped: the user's own Android Auto XAPK is not in .cache/",
|
||||
"source_blob": "b642d677dcabd4d51f8379dd05d9c72cdcf35f37"
|
||||
"source_blob": "d09d62b9e7a947df49bcf46c39eb3b396719d306"
|
||||
},
|
||||
"openpilot/starpilot/system/starport/tests/test_gpu_nv12.py::test_composed_car_frame_converts_to_the_same_picture[False-32-18-0-0]": {
|
||||
"basis": "Re-audited software EGL setup through ff5342ca; exact GPU environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3"
|
||||
"source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e"
|
||||
},
|
||||
"openpilot/starpilot/system/starport/tests/test_gpu_nv12.py::test_composed_car_frame_converts_to_the_same_picture[False-32-18-4-2]": {
|
||||
"basis": "Re-audited software EGL setup through ff5342ca; exact GPU environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3"
|
||||
"source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e"
|
||||
},
|
||||
"openpilot/starpilot/system/starport/tests/test_gpu_nv12.py::test_composed_car_frame_converts_to_the_same_picture[False-32-20-3-5]": {
|
||||
"basis": "Re-audited software EGL setup through ff5342ca; exact GPU environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3"
|
||||
"source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e"
|
||||
},
|
||||
"openpilot/starpilot/system/starport/tests/test_gpu_nv12.py::test_composed_car_frame_converts_to_the_same_picture[False-40-18-0-6]": {
|
||||
"basis": "Re-audited software EGL setup through ff5342ca; exact GPU environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3"
|
||||
"source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e"
|
||||
},
|
||||
"openpilot/starpilot/system/starport/tests/test_gpu_nv12.py::test_composed_car_frame_converts_to_the_same_picture[True-32-18-0-0]": {
|
||||
"basis": "Re-audited software EGL setup through ff5342ca; exact GPU environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3"
|
||||
"source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e"
|
||||
},
|
||||
"openpilot/starpilot/system/starport/tests/test_gpu_nv12.py::test_composed_car_frame_converts_to_the_same_picture[True-32-18-4-2]": {
|
||||
"basis": "Re-audited software EGL setup through ff5342ca; exact GPU environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3"
|
||||
"source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e"
|
||||
},
|
||||
"openpilot/starpilot/system/starport/tests/test_gpu_nv12.py::test_composed_car_frame_converts_to_the_same_picture[True-32-20-3-5]": {
|
||||
"basis": "Re-audited software EGL setup through ff5342ca; exact GPU environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3"
|
||||
"source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e"
|
||||
},
|
||||
"openpilot/starpilot/system/starport/tests/test_gpu_nv12.py::test_composed_car_frame_converts_to_the_same_picture[True-40-18-0-6]": {
|
||||
"basis": "Re-audited software EGL setup through ff5342ca; exact GPU environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3"
|
||||
"source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e"
|
||||
},
|
||||
"openpilot/starpilot/system/starport/tests/test_gpu_nv12.py::test_fused_projection_conversion_matches_rgba_composition[False-32-18-0-0]": {
|
||||
"basis": "Re-audited software EGL setup through ff5342ca; exact GPU environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3"
|
||||
"source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e"
|
||||
},
|
||||
"openpilot/starpilot/system/starport/tests/test_gpu_nv12.py::test_fused_projection_conversion_matches_rgba_composition[False-32-18-4-2]": {
|
||||
"basis": "Re-audited software EGL setup through ff5342ca; exact GPU environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3"
|
||||
"source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e"
|
||||
},
|
||||
"openpilot/starpilot/system/starport/tests/test_gpu_nv12.py::test_fused_projection_conversion_matches_rgba_composition[False-32-20-3-5]": {
|
||||
"basis": "Re-audited software EGL setup through ff5342ca; exact GPU environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3"
|
||||
"source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e"
|
||||
},
|
||||
"openpilot/starpilot/system/starport/tests/test_gpu_nv12.py::test_fused_projection_conversion_matches_rgba_composition[True-32-18-0-0]": {
|
||||
"basis": "Re-audited software EGL setup through ff5342ca; exact GPU environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3"
|
||||
"source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e"
|
||||
},
|
||||
"openpilot/starpilot/system/starport/tests/test_gpu_nv12.py::test_fused_projection_conversion_matches_rgba_composition[True-32-18-4-2]": {
|
||||
"basis": "Re-audited software EGL setup through ff5342ca; exact GPU environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3"
|
||||
"source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e"
|
||||
},
|
||||
"openpilot/starpilot/system/starport/tests/test_gpu_nv12.py::test_fused_projection_conversion_matches_rgba_composition[True-32-20-3-5]": {
|
||||
"basis": "Re-audited software EGL setup through ff5342ca; exact GPU environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3"
|
||||
"source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e"
|
||||
},
|
||||
"openpilot/starpilot/ui/tests/test_onroad_map.py::test_overlay_draws_heading_up_roads_route_and_soft_edges": {
|
||||
"basis": "Re-audited unchanged map GPU test bodies and shared fixture alias; software EGL setup through ff5342ca; exact environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"guard_source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3",
|
||||
"guard_source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e",
|
||||
"guard_source_path": "openpilot/starpilot/system/starport/tests/test_gpu_nv12.py",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "df1f777daf295f4997e0659ad0dec4e4efcf38ee"
|
||||
"source_blob": "92db495f2fdadcd961a92da8bbdb2118a0085a81"
|
||||
},
|
||||
"openpilot/starpilot/ui/tests/test_onroad_map.py::test_overlay_opacity_fades_map_background": {
|
||||
"basis": "Re-audited unchanged map GPU test bodies and shared fixture alias; software EGL setup through ff5342ca; exact environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"guard_source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3",
|
||||
"guard_source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e",
|
||||
"guard_source_path": "openpilot/starpilot/system/starport/tests/test_gpu_nv12.py",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "df1f777daf295f4997e0659ad0dec4e4efcf38ee"
|
||||
"source_blob": "92db495f2fdadcd961a92da8bbdb2118a0085a81"
|
||||
},
|
||||
"openpilot/starpilot/ui/tests/test_onroad_map.py::test_overlay_without_gps_waits_without_drawing_roads": {
|
||||
"basis": "Re-audited unchanged map GPU test bodies and shared fixture alias; software EGL setup through ff5342ca; exact environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"guard_source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3",
|
||||
"guard_source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e",
|
||||
"guard_source_path": "openpilot/starpilot/system/starport/tests/test_gpu_nv12.py",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "df1f777daf295f4997e0659ad0dec4e4efcf38ee"
|
||||
"source_blob": "92db495f2fdadcd961a92da8bbdb2118a0085a81"
|
||||
},
|
||||
"openpilot/starpilot/ui/tests/test_onroad_map.py::test_route_stays_bright_at_minimum_map_opacity": {
|
||||
"basis": "Re-audited unchanged map GPU test bodies and shared fixture alias; software EGL setup through ff5342ca; exact environment guard unchanged; skipped remains unavailable, never passed",
|
||||
"guard": "gpu_env",
|
||||
"guard_source_blob": "6890e34c1e01be80495c1dc1089529c362de68f3",
|
||||
"guard_source_blob": "e9113b0c1e44d0975721a3ae165fdf056a7a106e",
|
||||
"guard_source_path": "openpilot/starpilot/system/starport/tests/test_gpu_nv12.py",
|
||||
"reason": "Skipped: STARPILOT_AUTO_GL_TEST=1 enables tests requiring a real graphics context",
|
||||
"source_blob": "df1f777daf295f4997e0659ad0dec4e4efcf38ee"
|
||||
"source_blob": "92db495f2fdadcd961a92da8bbdb2118a0085a81"
|
||||
}
|
||||
},
|
||||
"independent_functions": {
|
||||
|
||||
Reference in New Issue
Block a user