Commit Graph

2990 Commits

Author SHA1 Message Date
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
Riccardo
d9d0a62f2b Misra 5.5: missed this change from previous PR 2019-07-07 22:22:05 -07:00
rbiasini
85fa3c02ae Misra 5.5: Identifiers shall be distinct from macro names (#246)
* Misra 5.5: Identifiers shall be distinct from macro names
2019-07-07 22:19:02 -07:00
Riccardo
190d604a0b Pedal: 2 minor fixes to Misra 15.7 (else needed) and 17.7 (non-void output must be used) 2019-07-07 22:07:14 -07:00
Riccardo
8ea01ff127 Pedal: no built-in functions to avoid puts and putc re-definitions 2019-07-07 21:38:40 -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
e6dc4172b1 Minor indent error 2019-07-07 15:57:14 -07:00
Riccardo
247e128b45 Fix strict compiler on bootstub build 2019-07-07 15:05:47 -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
rbiasini
f7bd2c2f38 Misra 10.4: fix last 2 violations (#242) 2019-07-04 02:27:21 -07:00
rbiasini
9be5fdead9 finished misra 17.8 (#241) 2019-07-04 01:37:26 -07:00
rbiasini
3c3aba3dbc Misra 10.4: Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category (#240)
* Almost done with 10.4, a couple of non-obvious violations remaining
2019-07-04 01:04:58 -07:00
Riccardo
f2a3a177b3 Misra 15_7: fix what seems to be a false positive of cppcheck 2019-07-03 20:53:00 -07:00
rbiasini
812ace5386 Misra 15_7: if … else if constructs should be terminated with an else clause (#230)
* Fixed all Misra 15_7 violations
2019-07-03 20:48:02 -07:00
Adeeb Shihadeh
79e9735ae1 rename 5_wifi_udp.py 2019-07-03 20:02:53 -07:00
quillford
3c3ff0c03b Update Jenkinsfile (#239) 2019-07-03 19:47:41 -07:00
rbiasini
1bd9284372 Misra 17.7: the value returned by a function having non-void return shall be used (#237)
* Fixed Misra 17.7 violations except for can_push
2019-07-03 16:01:01 -07:00
George Hotz
18c9e88bc0 Merge pull request #238 from commaai/misra_17_8
Misra 17.8: a function parameter should not be modified
2019-07-03 13:36:49 -07:00
George Hotz
7ac321de4e Merge pull request #235 from commaai/memxxx
memxxx function changes to be Misra compliant
2019-07-03 13:35:49 -07:00
Adeeb Shihadeh
004e543cc2 Jenkins: run EON test first 2019-07-03 11:09:49 -07:00
Adeeb Shihadeh
4bff286205 Merge branch 'memxxx' of github.com:commaai/panda into memxxx 2019-07-03 11:03:11 -07:00
Riccardo
7cd80de23a typo 2019-07-03 02:07:02 -07:00
Riccardo
385e33b32c 12.1 regression 2019-07-03 02:04:25 -07:00
Riccardo
955842bae6 WIP 2019-07-03 01:59:27 -07:00
rbiasini
ea908cbb75 10_1 violations: Operands shall not be of an inappropriate essential type (#233)
* 10_1 violations
2019-07-02 23:43:06 -07:00
rbiasini
fa33038055 Fix Misra 5.3: An identifier declared in an inner scope shall not hide an identifier declared in an outer scope (#236)
* Fix Misra 5.3
2019-07-02 22:39:00 -07:00
Riccardo
ebfe1c512f Merge branch 'master' of github.com:commaai/panda into memxxx 2019-07-02 21:45:23 -07:00
Riccardo
8c11470ef2 Fix EON test case 2019-07-02 21:27:49 -07:00
Adeeb Shihadeh
64e18e8415 fix inverted logic to differentiate between dev and EON panda builds 2019-07-02 20:17:22 -07:00
Adeeb Shihadeh
36755a0fd3 Merge branch 'master' of github.com:commaai/panda into memxxx 2019-07-02 20:07:01 -07:00
Adeeb Shihadeh
e2981d6120 skip wifi tests for EON panda build 2019-07-02 20:05:33 -07:00
Riccardo
db2eec98c6 Merge branch 'master' of github.com:commaai/panda into memxxx 2019-07-02 18:18:49 -07:00
Riccardo
11257e79a5 Ignore test 5_wifi_udp.py_ignore: too unreliable for now 2019-07-02 18:18:29 -07:00
Adeeb Shihadeh
6973c2a81a fix wifi tests 2019-07-02 18:08:23 -07:00
Riccardo
cf6985ad15 memxxx function changes to be Misra compliant 2019-07-02 17:43:54 -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
ecb9b6c01f Revert "Misra 10 1: Operands shall not be of an inappropriate essential type (#232)"
This reverts commit 8732e4faf0.
2019-06-30 13:43:21 -07:00
rbiasini
8732e4faf0 Misra 10 1: Operands shall not be of an inappropriate essential type (#232)
Fixe Misra 10.1 violations
2019-06-30 15:07:04 -05:00
rbiasini
ae816c104a Fix 15_6 violations (#231) 2019-06-28 13:46:57 -07:00
George Hotz
00e45d3284 bump panda version 2019-06-28 11:03:06 -07:00
rbiasini
abd841e9be Fix all 16_4 violations (#229) 2019-06-27 15:50:00 -07:00
George Hotz
d972b8771d Merge pull request #226 from commaai/misra_15_5
Misra 15.5: A function should have a single point of exit at the end
2019-06-27 08:57:59 -07:00