Riccardo
ce1daf2062
Misra check only done for EON config
2019-07-10 12:02:50 -07:00
Riccardo
04756a037f
Turning back Misra check: unvoluntarily change
2019-07-09 16:18:44 -07:00
Riccardo
b983cc8fe6
Re-wrote test_misra.sh
2019-07-09 14:37:26 -07:00
Riccardo
06ee8bd2d2
Ignore Misra 5.4 until cppcheck bug (?) is fixed
2019-07-08 19:30:58 -07:00
Riccardo
4be858224f
Update cppcheck commit and pass predefined params to avoid impossible combinations of configs
2019-07-08 18:20:00 -07:00
Riccardo
1cd34e5645
Explicitly set the define and undefine for unknown configs in misra checks
2019-07-08 15:32:55 -07:00
Riccardo
c97d60be64
Removed bad language
2019-07-08 12:05:08 -07:00
Riccardo
b031480a7f
Missed adding Dockerfile
2019-07-08 12:03:13 -07:00
Riccardo
91ff6bb214
Run language checker in CI
2019-07-08 12:01:00 -07:00
Riccardo
205ec342ad
Improved language checker
2019-07-08 01:00:14 -07:00
Riccardo
f7bbab0723
Language checker test
2019-07-08 00:50:32 -07:00
rbiasini
1f40d1e6a6
Misra pedal ( #245 )
...
* Fix misra on pedal
2019-07-07 16:59:31 -07:00
Riccardo
a4554e3e69
Ignore advisory Misra 19.2: the union keyword should not be used
2019-07-07 16:31:06 -07:00
Riccardo
ba68569216
Removed build strict test and enabled -Werror flag
2019-07-07 14:46:03 -07:00
Adeeb Shihadeh
da11f0fa0c
safety replay: update openpilot-tools after logreader fix
2019-07-05 16:31:21 -07:00
Riccardo
fc8b9e49bd
Cppcheck: also check pedal
2019-07-04 02:58:17 -07:00
Adeeb Shihadeh
79e9735ae1
rename 5_wifi_udp.py
2019-07-03 20:02:53 -07:00
Riccardo
11257e79a5
Ignore test 5_wifi_udp.py_ignore: too unreliable for now
2019-07-02 18:18:29 -07:00
Riccardo
3a6cd2930b
wifi threshold perc back to 20%. Problem wasn't this.
2019-07-01 20:35:29 -07:00
Adeeb Shihadeh
d92a035285
faster docker build for safety replay
2019-07-01 13:28:02 -07:00
Riccardo
3e9469b3ee
Fixing tests after min->MIN change
2019-06-30 14:19:31 -07:00
Riccardo
c4311a7fee
Wifi saturation test: allow 15 instead of 20 to avoid false positive failures
2019-06-24 20:11:32 -07:00
Adeeb Shihadeh
71877bcfd7
update safety replay after openpilot_tools rename
2019-06-24 14:04:46 -07:00
rbiasini
e2d781380a
Strict compiler ( #222 )
...
have no Wall warnings from the strict compiler and enforcing it in the regression test.
2019-06-24 10:25:30 -07:00
Riccardo
da59e0cb9a
Fix toyota tests
2019-06-20 18:41:41 -07:00
Riccardo
c6ec11e17f
fixed tab
2019-06-17 20:06:14 -07:00
Riccardo
0a77dffc9a
change test and see if we get a failure now
2019-06-17 19:50:03 -07:00
Riccardo
6cd5a4fcd0
Update cppcheck commit in test_misra.sh
2019-06-17 18:54:05 -07:00
Riccardo
05487e29d7
More complete Misra check on safety code (better than running cppcheck on sfaety.h only, with broken dependencies)
2019-06-17 14:27:01 -07:00
rbiasini
a3f65d66e9
capitalize MIN and MAX macros ( #220 )
2019-06-17 13:48:14 -07:00
quillford
19d1e41eed
WIP: enhance safety replay test ( #211 )
...
* safety replay: add msg length
* add support for individual segments to safety replay
* safety replay: extend segment support to rest of safety modes
* safety replay: add debug flag
* safety replay: return if no steering msgs in segment mode
* minor refactor of safety replay
2019-06-14 16:27:15 -07:00
rbiasini
78308c0bc5
All 14.4 violations are gone ( #213 )
2019-06-12 20:12:48 -07:00
rbiasini
67b831ef45
Misra 15 5 ( #210 )
...
Remove 15.5 violations
2019-06-12 18:18:07 -07:00
rbiasini
57a6c493bb
Toyota gas pressed: reconcile panda code with openpilot ( #212 )
2019-06-12 17:51:47 -07:00
Riccardo
37576ef3b4
Allow inline suppress for the cppcheck
2019-06-12 13:16:23 -07:00
Riccardo
55679532aa
Fix Misra 20.1 violations: Moved safety declarations in its own header and qdded optional input to run misra tests for safety code only.
2019-06-12 06:35:47 -07:00
rbiasini
23461a176c
Misra 12 1 safety ( #209 )
...
* this gets rid of all 12.1 violations
2019-06-11 21:23:48 -07:00
Riccardo
242b3305fe
Added fwd hook coverage test for Cadillac and created default_fwd_hook instead of nooutput and alloutput, which were teh same
2019-06-11 19:50:12 -07:00
Riccardo
a605b5720e
Also covering fwd hook for Subaru and GM now
2019-06-11 19:37:18 -07:00
Riccardo
133269a1a4
Added fwd test coverage for Toyota, Hyundai and Chrysler too. Removed replay tools for Chrysler, as a generic replay tool has been recently added
2019-06-11 19:24:08 -07:00
Riccardo
a4653e2d7f
Added fwd hook coverage to safety regression tests
2019-06-11 18:16:48 -07:00
quillford
cd20d123c4
refactor tests/safety to use generic hooks ( #208 )
...
* refactor tests/safety to use generic hooks
* cleanup refactor
* removed dead code
2019-06-11 01:31:00 -07:00
Riccardo
38f4288f1e
running misra also specifically for safety code
2019-06-10 21:58:01 -07:00
quillford
c381a470b1
replay test ( #205 )
...
replay drives to test for safety violations. fails if any messages are blocked while controls are allowed
2019-06-07 17:12:02 -07:00
Riccardo
274f9ce06d
Misra: separately save the cppcheck output in its own artifact
2019-06-07 15:39:30 -07:00
Riccardo
20171596f7
update cppcheck ref to have more comprehensive misra checks
2019-06-06 16:00:53 -07:00
Riccardo
7f8babb8ad
Much more thorough limit safety tests on Honda, also switching long_controls_allowed
2019-06-05 16:14:10 -07:00
Riccardo
71099efaba
AddedToyota safety test around long_controls_allowed logic and fixed a bug
2019-06-05 15:29:09 -07:00
Riccardo
07fd31e921
added long_controls_allowed tests in GM
2019-06-05 14:52:48 -07:00
Riccardo
6ce580a062
added function to get/set long_controls_allowed
2019-06-05 14:40:07 -07:00