Commit Graph

2559 Commits

Author SHA1 Message Date
Matthew Kennedy a50fdf34d4 avoid UB in tests 2024-03-23 07:54:27 -04:00
GitHub build-unit-tests Action 0ecf052fde Trigger wheel definitions 2024-03-22 17:51:29 +00:00
rusefillc 5a06e47fd3 better names for 3/5 GM 24xs 2024-03-22 13:44:18 -04:00
Andrey 17069719dc funny games with dash via Lua to override CAN dash profile values #6235 2024-03-21 13:01:03 -04:00
Matthew Kennedy b7b7c77ce0 move a bunch of tables out of engine_configuration_s 2024-03-20 17:07:12 -04:00
Andrey 5d46bb1074 Negative timing is not displayed correctly fix #5250 2024-03-20 14:43:50 -04:00
Andrey ef2fe9e33c Timing showing crazy negative values like -595 #5250
only:tdd
2024-03-20 14:24:20 -04:00
Andrey 9a43bc2758 only:additional coverage 2024-03-20 10:31:23 -04:00
rusefillc fbea4c3731 only: renaming test 2024-03-20 10:20:40 -04:00
GitHub build-unit-tests Action 7ff022fa39 Trigger wheel definitions 2024-03-19 22:39:44 +00:00
Andrey 15a313aced HPFP control on cam with variable timing fix #6245 2024-03-17 22:30:50 -04:00
Andrey c69e202eaf Seems that gdi pump angle changes at 2x the rate of cam movement, possible multiplication/division problem? #6245
only:alphax-4chan_f7
2024-03-17 21:05:11 -04:00
rusefillc 8dd5fcb56d unit test mk line is not needed twice 2024-03-16 17:41:52 -06:00
Andrey 09b787adf3 launch control: merging two settings into one 2024-03-16 17:06:42 -06:00
rusefillc 1cd034bbda fresh googletest 2024-03-15 21:32:42 -06:00
Andrey Gusakov f765fe82be unit_test: ThreadReference mock 2024-03-11 16:54:58 -04:00
Andrey 946bc82376 refactoring: LaunchCondition enum 2024-03-09 08:39:58 -05:00
rusefillc af9935ba0e only: JNI for test coverage fix #3965 2024-03-06 10:46:50 -05:00
rusefillc a05c0ef730 engine type clean-up 2024-03-06 00:13:11 -05:00
rusefillc f4b1a7bae0 engine type clean-up 2024-03-06 00:13:11 -05:00
David Holdeman 8b4de3111a Call gen_live_documentation.sh from make 2024-03-04 23:30:13 -05:00
Andrey 3096db5c72 confusing Map3D API fix #6139 2024-03-04 17:58:24 -05:00
rusefillc 57ad92fc1d only: removing totally dead launchFuelAdded 2024-02-29 22:22:00 -05:00
Andrey d3461e3905 odd fire timing_offset_cylinder not accounted by injection fix #6095 2024-02-29 12:29:46 -05:00
Andrey df6ec17a64 odd fire timing_offset_cylinder not accounted by injection #6095
only: TDD to the win
2024-02-29 09:49:03 -05:00
Andrey f487065e75 maximumIgnitionTiming does not account timing_offset_cylinder #5894
only: TDD progress
2024-02-29 08:08:31 -05:00
Andrey 12db01c948 first spark out of order coilIndex logic in prepareCylinderIgnitionSchedule fix #6094 2024-02-29 01:47:43 -05:00
Andrey 4347c5c82e maximumIgnitionTiming does not account timing_offset_cylinder #5894
only: TDD progress
2024-02-29 01:33:42 -05:00
Andrey d2b6ae4d11 only: last rename for now 2024-02-29 00:41:12 -05:00
Andrey 98dcca20b1 maximumIgnitionTiming does not account timing_offset_cylinder #5894
only: TDD first steps
2024-02-29 00:16:41 -05:00
Andrey 41d5b527cc only: NICE! these values actually mean something! 2024-02-28 23:22:01 -05:00
Andrey b04b6a9251 only: NICE! these values actually mean something! 2024-02-28 22:53:44 -05:00
Andrey 002a2ce016 only: encapsulation/better name 2024-02-28 21:44:02 -05:00
Andrey 928f6f2866 only: reducing magic numbers in unit tests 2024-02-28 21:05:48 -05:00
Andrey b335244601 only: reducing magic numbers in unit tests 2024-02-28 20:44:22 -05:00
Andrey 8fe5c4a1c9 only: wow hello 2013 2024-02-28 20:28:38 -05:00
Andrey 389c6e64e9 only: reducing magic numbers in unit tests 2024-02-28 20:20:41 -05:00
Andrey 17275e4f4b maximumIgnitionTiming does not account timing_offset_cylinder #5894
only: renaming field so that we do not have two entities with same name and different meaning
2024-02-28 19:34:13 -05:00
Andrey 73298d21ad maximumIgnitionTiming does not account timing_offset_cylinder #5894
only: nothing
2024-02-28 19:34:13 -05:00
Andrey f7dd81b61d & is inappropriate for an enum 2024-02-28 19:16:07 -05:00
David Holdeman c4367b8b4d include rusefi_config.mk for unit tests 2024-02-26 00:13:48 -05:00
David Holdeman 17c5fb210d fix unit tests cleaning 2024-02-24 19:37:15 -05:00
Andrey 701f3a073c revive ptrace fix #5983 2024-02-22 15:19:21 -05:00
Andrey a1423085e2 revive ptrace #5983
only: quality in software begins with proper practices like TDD
2024-02-22 15:16:24 -05:00
rusefillc 2b80929ac6 only:reducing unit test logging 2024-02-21 17:31:02 -05:00
rusefillc 19fb7abf44 only:docs 2024-02-21 17:30:41 -05:00
GitHub build-unit-tests Action 0fe95ad07e Trigger wheel definitions 2024-02-19 22:23:41 +00:00
rusefillc 332e38d03e better placement for executor include 2024-02-16 21:16:11 -04:00
Andrey 583d73ccd5 only: setBitRangeMsb coverage 2024-02-16 01:10:19 -05:00
Andrey 9a782c0b5a only: setBitRangeMsb coverage 2024-02-15 16:41:04 -05:00
Andrey 68463e8634 only: actually looks OK 2024-02-15 16:30:56 -05:00
GitHub build-unit-tests Action 1f90518827 Trigger wheel definitions 2024-02-08 17:50:07 +00:00
GitHub build-unit-tests Action 5b4b9c0477 Trigger wheel definitions 2024-02-08 15:38:23 +00:00
GitHub build-unit-tests Action 4b9f81c10b Trigger wheel definitions 2024-02-08 15:10:53 +00:00
GitHub build-unit-tests Action 3f29ec8731 Trigger wheel definitions 2024-02-03 20:21:08 +00:00
Matthew Kennedy e718489774 Actually separate injector model for second stage 2024-01-17 08:46:21 -05:00
rusefillc 81c050a75b only: dead ET camaro 2024-01-16 11:53:22 -05:00
rusefillc fb899cdefb only: inline method & dead code 2024-01-16 11:02:26 -05:00
GitHub build-unit-tests Action acb20e0b22 Trigger wheel definitions 2024-01-16 01:44:04 +00:00
Andrey 244a42d795 only: it's a hot mess :( 2024-01-15 20:29:38 -05:00
Andrey e53cf7e309 only: not needed 2024-01-15 20:29:38 -05:00
GitHub build-unit-tests Action 190f847b83 Trigger wheel definitions 2024-01-15 18:21:26 +00:00
Matthew Kennedy 8f42f8ccc8 Staged injection support; use two sets of injectors on the same engine fix #5247 2024-01-07 23:14:18 -05:00
Matthew Kennedy 1302f780b2 unused parameters 2024-01-07 22:36:20 -05:00
Matthew Kennedy 1f64950e33 Staged injection support; use two sets of injectors on the same engine #5247
two injection models for two stages
2024-01-07 22:36:20 -05:00
Matthew Kennedy 26b351ba40 Remove/make injector duty limit configurable fix #4798 2024-01-07 22:36:18 -05:00
Andrey ca18c5ba4e only:towards https://github.com/rusefi/rusefi/pull/4841 2024-01-07 16:39:15 -05:00
Andrey 391b5947e8 only: actually using msg in assertions 2024-01-07 13:43:30 -05:00
Andrey 07a7cd746d only: safety trick 2024-01-07 12:49:32 -05:00
Andrey 02960f1503 only: front to rear axle speed slip rate gauge #5842 2023-12-30 23:51:59 -05:00
GitHub build-unit-tests Action 815d5041f4 Trigger wheel definitions 2023-12-26 01:42:15 +00:00
Andrey ab6011aa8b only:explicit error if attempting to write unknown smart pin 2023-12-25 17:40:18 -05:00
GitHub build-unit-tests Action 2b0a9a6065 Trigger wheel definitions 2023-12-07 04:15:05 +00:00
Andrey 540e142c28 6G72 Trigger Pattern #5593 2023-12-06 23:02:08 -05:00
Andrey fb406525f5 CSV reader progress 2023-12-06 23:02:08 -05:00
rusefi 10198684f9 6G72 Trigger Pattern #5593
real data
2023-12-06 22:07:27 -05:00
andreika-git 30ff00fb69 Call AlternatorController::init() for ClosedLoop unit-test 2023-12-05 14:23:04 -05:00
rusefillc 723b9d5995 only:K 2023-11-25 20:18:24 -05:00
Andrey cd19753a7d only: canam 2023-11-18 01:45:34 -05:00
rusefillc 33c34ff88c only: better defaults 2023-11-17 21:46:10 -05:00
rusefillc 87ff3f7266 only: docs 2023-11-17 21:46:10 -05:00
Matthew Kennedy 7ec0aee6f2 update googletest, because why not 2023-11-17 17:47:00 -06:00
Andrey 9b920bf2fa getBitRangeMsb 2023-11-15 00:28:43 -05:00
andreika-git 7d87aeaa5b AlternatorController unit-tests 2023-11-10 17:13:50 -05:00
Andrey 950f0d4525 only:vincpy 2023-11-08 21:52:43 -05:00
GitHub build-unit-tests Action 9ce3c8ba94 Trigger wheel definitions 2023-11-08 20:39:29 +00:00
GitHub build-unit-tests Action 7c91acfe57 Trigger wheel definitions 2023-11-08 20:25:33 +00:00
GitHub build-unit-tests Action 03fbcc99b1 Trigger wheel definitions 2023-11-08 20:12:01 +00:00
Matthew Kennedy 14a87d497e remove ccache 2023-11-02 14:30:22 -04:00
Matthew Kennedy 05c58569fd these lines just did NOTHING? 2023-11-02 01:59:23 -04:00
Matthew Kennedy 87429dcc26 this test worked on everything but apple silicon apparently 2023-11-02 01:33:44 -04:00
Matthew Kennedy 0a767edd3d prep adding Werror=shadow 2023-11-01 19:25:13 -04:00
rusefi 114e656627 only:returning useful mocks 2023-11-01 19:08:27 -04:00
Matthew Kennedy 2c049d206a dead pid auto tune 2023-11-01 17:01:07 -04:00
rusefillc 5e311f99fb test moved to library 2023-11-01 09:39:33 -04:00
rusefillc 9c54180bf6
T2 (#5647)
* fix unit-tests

* add cam/vvt support to trigger_emulator

---------

Co-authored-by: andreika-git <andrei.home@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-10-26 14:10:51 -04:00
rusefillc 2cc18acd24 only:Non-square dimension maps #5641 2023-10-25 17:02:06 -04:00
rusefillc add3326ef0
dead warningEnabled global variable (#5636) 2023-10-24 18:55:29 -04:00
Patryk Chmura 0a7cd2b08c
Closed Loop Idle Ignition Timing small improvements (#5635)
* After-start enrichment handling more similar to OEM and other Standalone EFI systems

* Corrections and tidying-up

* Corrected small mistake in TunerStudio definition

* Compatibility fixes

* Readability fix

* Changed to more appropriate cycles instead of seconds, bugfix for TS

* Typo fix...

* Idle Ignition Timing improvements

* Uninitialized variable for Unit Tests?

* Zero value should disable new feature

---------

Co-authored-by: pchmura4 <>
2023-10-24 17:43:29 -04:00
Matthew Kennedy 029bc9fdac unit test for wrapAngle 2023-10-24 15:35:45 -04:00
Andrey f2453ce251 open loop boost does not really require Map sensor
only:small-can-board
2023-10-19 21:22:59 -04:00
Andrey 300e08d4c4 only:making boost constraints more obvious, also running boost in simulator 2023-10-19 21:06:09 -04:00
rusefi 3db5c6e3f7 only:minor encapsulation 2023-10-12 23:15:54 -04:00
rusefillc eac1430b08 only:hd 2023-10-11 23:47:34 -04:00
Matthew Kennedy ab770b6892 limp test doesn't rely on defaults 2023-10-11 21:20:43 -04:00
GitHub build-unit-tests Action 29721b3732 Trigger wheel definitions 2023-10-08 15:10:00 +00:00
Andrey 680d18e433 VVT control is broken on second bank fix #5599 2023-10-07 12:54:45 -04:00
Andrey 3b1fe9da7f only: VVT refactoring reducing magic index math 2023-10-07 12:34:32 -04:00
rusefillc 64773d8351 Retarding exhaust VVT which drives DI pump causes issues #5596
only: extra coverage
2023-10-05 23:24:19 -04:00
rusefillc 384973ad2a Retarding exhaust VVT which drives DI pump causes issues #5596
only: extra coverage
2023-10-05 23:17:05 -04:00
rusefillc a2f147ebc0 Retarding exhaust VVT which drives DI pump causes issues #5596
only: extra coverage
2023-10-05 23:09:45 -04:00
Andrey abad7c8e7d only:fixing test to have HPFP not just in cranking 2023-10-05 20:20:34 -04:00
Andrey 3b2b90436d only:making test simpler 2023-10-05 19:20:27 -04:00
GitHub build-unit-tests Action 5590e9ffd0 Trigger wheel definitions 2023-09-30 03:33:43 +00:00
GitHub build-unit-tests Action 490e183ef4 Trigger wheel definitions 2023-09-30 01:28:23 +00:00
Matthew Kennedy a519fd13ad vvt is engine module
* vvt refactoring

* vvt constexpr livedata

* format

* fix null deref
2023-09-26 09:07:59 -04:00
rusefillc be35a5eb23
fan control is engine module (#5585)
* fan is engine module

* mockable AC

* mockable AC

* mock AC controller in fan test

* constexpr fan livedata

* isPtr

Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2023-09-26 07:12:11 -04:00
Andrey d4916f3c95 only:hello VAG 2023-09-21 20:01:29 -04:00
Andrey 5c5fafd7c2 only:minor note 2023-09-18 13:49:25 -04:00
GitHub build-unit-tests Action 7048ffd7f4 Trigger wheel definitions 2023-09-17 15:59:39 +00:00
GitHub build-unit-tests Action 6106d31d6f Trigger wheel definitions 2023-09-16 00:44:37 -04:00
GitHub build-unit-tests Action a3fbd86079 Trigger wheel definitions 2023-09-16 04:12:53 +00:00
GitHub gen-configs Action 5a9e936183 Auto-generated configs and docs 2023-09-16 04:06:22 +00:00
Andrey 6eb0619d9c only: 36/2/2/2 is confusing #5566
writing raw value into meta file - moving logic closer to where it's needed giving TriggerImage more direct access to meta info
2023-09-16 00:02:59 -04:00
Andrey eaef8dfb09 only:rename 2023-09-15 23:59:13 -04:00
GitHub build-unit-tests Action 3311970af3 Trigger wheel definitions 2023-09-14 21:51:57 +00:00
Matthew Kennedy bc637c4e6b rename 2jz -> toyota 3 tooth 2023-09-14 17:42:27 -04:00
Andrey 955f3cb9ca only: 3/0 cam real test 2023-09-14 08:34:23 -04:00
Andrey e5f7c9885c testability: bench test commands should have automated coverage using simulator #5562 2023-09-11 00:03:10 -04:00
Andrey e74edbe365 only:uint8 scaled test 2023-09-10 13:39:54 -04:00
Andrey 247a0a91b5 spelling is important 2023-09-09 19:54:57 -04:00
Andrey b5fd6ea044 spelling is important 2023-09-09 19:53:18 -04:00
rusefi 186be0c777 export board-specific macro for stm32 pins based on board yaml #3298 2023-09-02 22:09:38 -04:00
rusefi 1d64003dd6 only:WrapAround62 goes to libfirmware 2023-08-30 23:47:26 -04:00
rusefi 78e48d3718 only:timer.h goes to libfirmware! 2023-08-30 23:11:24 -04:00
Andrey 63295873b4 reducing/moving technical debt 2023-08-29 16:53:49 -04:00
Andrey d2f899e737 reducing/moving technical debt 2023-08-29 16:46:04 -04:00
rusefi 720ba01d04 proteus fails to start while powered by stim board #5545
only:proteus_f7
2023-08-29 00:46:21 -04:00
GitHub build-unit-tests Action 0b1f25253c Trigger wheel definitions 2023-08-25 15:11:33 +00:00
Andrey f687925175 saving 20 bytes for 8chan7 2023-08-25 10:45:40 -04:00
GitHub build-unit-tests Action 44db77b128 Trigger wheel definitions 2023-08-25 05:19:08 +00:00
GitHub build-unit-tests Action 8aa1f295da Trigger wheel definitions 2023-08-25 02:59:29 +00:00
rusefi e8c45a2e7d refactoring: reducing code duplication. Also, do we even care for critical error codes?! 2023-08-20 22:23:44 -04:00
GitHub build-unit-tests Action e1d0539cdd Trigger wheel definitions 2023-08-15 17:59:11 +00:00
Andrey e9e0ef5a89 "rpmAcceleration" in TS doesn't go lower than 0 #5504
only: rpmAcceleration unit test
2023-08-09 04:53:00 -04:00
rusefillc b21455e178 CLI encapsulation preparing for libfirmware move 2023-08-08 23:02:20 -04:00
rusefillc dbcd68f0e4 dead 2023-08-08 21:59:55 -04:00
rusefillc 20776af960 improving unit_tests folder structure 2023-08-08 20:11:24 -04:00
rusefillc 86a2d1e8e9 better output file name 2023-08-08 20:09:18 -04:00
rusefillc 7d6fbef516 half dead 2023-08-08 18:58:48 -04:00