panda/tests
Justin Newberry 7dbdf6ba2b
Safety Tests: Create common gas brake safety test (#1537)
* create common gas brake safety test

* remove unrelated subaru reference

* also test below min_value

* better name and hardcoded

* use same as acceleration limits

* revert gm

* remove callable

* added common brake test and moved generic test to base safety class

* remove duplicate test

* wip

* wip

* rename longitudinalaccelsafety

* revert limits correct test

* fix controls allowed test

* move gm over to long gas brake test

* assert that limits are reasonable

* fix typing

* fix linter again

* fix linter again

* fix linter again

* like to make it clear

* typo

* fix from merge

* clearer names

* dont need thesemore

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-12 14:03:40 -07:00
..
canfd panda: add CAN-FD throughput test (#1572) 2023-08-10 18:41:50 -07:00
development Stricter pylint (#550) 2020-06-02 16:27:07 -07:00
fan log total stall count in fan tuning script 2023-04-21 13:47:13 -07:00
gmbitbang Same mypy checks as openpilot (#1233) 2023-02-11 12:25:13 -08:00
hitl panda: add CAN-FD throughput test (#1572) 2023-08-10 18:41:50 -07:00
libpanda libpanda: silence build warning 2023-08-04 22:16:49 -07:00
libs CI: set PYTHONWARNINGS=error (#1323) 2023-04-02 09:33:35 -07:00
logging Logging (#1445) 2023-06-13 17:00:56 +02:00
misra CI speedup (#1108) 2022-10-16 16:37:58 -07:00
pedal pedal: fix warning on invalid serial (#1563) 2023-08-06 13:47:37 -07:00
safety Safety Tests: Create common gas brake safety test (#1537) 2023-08-12 14:03:40 -07:00
safety_replay remove safety replay test (#1569) 2023-08-07 18:38:01 -07:00
usbprotocol bump to python 3.11.4 (#1481) 2023-07-01 17:43:34 -07:00
__init__.py add init to tests 2017-09-01 12:49:16 -07:00
benchmark.py benchmarking script 2023-06-03 15:22:47 -07:00
black_white_loopback_test.py ruff: enable bugbear checks (#1565) 2023-08-06 14:59:22 -07:00
black_white_relay_endurance.py ruff: enable bugbear checks (#1565) 2023-08-06 14:59:22 -07:00
black_white_relay_test.py ruff: enable bugbear checks (#1565) 2023-08-06 14:59:22 -07:00
bulk_write_test.py panda jungle (#1547) 2023-08-03 23:55:13 -07:00
can_printer.py ruff: enable bugbear checks (#1565) 2023-08-06 14:59:22 -07:00
ci_reset_hw.py pedal: fix warning on invalid serial (#1563) 2023-08-06 13:47:37 -07:00
ci_shell.sh HITL test fixups (#1117) 2022-11-03 17:24:28 -07:00
debug_console.py reconnecting debug console 2022-11-24 16:09:39 +01:00
echo.py cleanup heartbeat threads from scripts and test_canfd (#1036) 2022-08-18 10:56:42 -07:00
elm_car_simulator.py switch to ruff linter (#1564) 2023-08-06 14:29:28 -07:00
elm_throughput.py Enable almost all Flake8 checks (#548) 2020-06-01 01:49:26 -07:00
get_version.py Enable almost all Flake8 checks (#548) 2020-06-01 01:49:26 -07:00
gmlan_harness_test.py python lib: cleanup hw type check (#1050) 2022-08-30 10:46:12 -07:00
health_test.py SPI: connect by serial/UID (#1213) 2023-01-15 23:30:24 -08:00
ir_test.py Enable almost all Flake8 checks (#548) 2020-06-01 01:49:26 -07:00
loopback_test.py ruff: enable bugbear checks (#1565) 2023-08-06 14:59:22 -07:00
message_drop_test.py panda jungle (#1547) 2023-08-03 23:55:13 -07:00
print_logs.py log device boot time (#1503) 2023-07-12 20:34:46 -07:00
read_st_flash.sh fix st flashing over wifi, all tests pass 2017-07-30 09:09:30 -07:00
read_winusb_descriptors.py fixes for mypy check for return-any 2022-05-12 14:22:58 +02:00
reflash_internal_panda.py instructions for flashing internal panda (#1521) 2023-07-17 20:17:18 -07:00
relay_test.py relay test 2020-08-17 10:15:17 +00:00
rtc_test.py Enable almost all Flake8 checks (#548) 2020-06-01 01:49:26 -07:00
setup_device_ci.sh more complete jungle reflash (#1557) 2023-08-04 21:51:09 -07:00
som_debug.sh som debug script 2022-11-17 17:06:28 -08:00
spam_can.py Enable almost all Flake8 checks (#548) 2020-06-01 01:49:26 -07:00
standalone_test.py ruff: enable bugbear checks (#1565) 2023-08-06 14:59:22 -07:00
test_rsa.c cleanup + prep for more tests! (#1172) 2022-11-30 14:15:09 -08:00
tucan_loopback.py ruff: enable bugbear checks (#1565) 2023-08-06 14:59:22 -07:00