Commit Graph

204 Commits

Author SHA1 Message Date
Matthew Kennedy 66b9c3ebea auto export all logicdata 2020-07-20 13:12:21 -07:00
rusefi 2a45c9cbe8 unit test framework improvements for smoother event execution 2020-07-20 12:45:26 -04:00
rusefi de66f4dc6e unit test framework improvements for smoother event execution 2020-07-20 11:16:51 -04:00
rusefi b2edd3a4f4 logicdata into unit tests 2020-07-20 00:36:10 -04:00
rusefi 49e9e08c65 better unit test logging 2020-07-19 15:47:21 -04:00
Matthew Kennedy 105460dada
Remove old thermistor implementation (#1458)
* remove test clt/iat

* remove warning since this code is nearly dead

* remove old therm impl

* tests & live doc

* not quite right
2020-05-28 17:51:33 -04:00
Matthew Kennedy b11c5cd8c8
switch some firmware warnings to errors (#1465)
* warnings as errors

* throw instead of exit

* test massaging

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-23 10:46:28 -04:00
rusefi 3ffc51f495 Clean-up analog channels in "unit" tests #1456 2020-05-20 03:54:40 -04:00
rusefi f2cf1358c1 Clean-up analog channels in "unit" tests #1456 2020-05-20 03:49:56 -04:00
Matthew Kennedy 44e2a1c970
remove test clt/iat (#1457)
* remove test clt/iat

* remove warning since this code is nearly dead
2020-05-20 03:16:01 -04:00
Matthew Kennedy bc15e0826d
CLT consumer: fsio (#1302)
* idle

* CLT test prep

* idle target

* header

* air interpolate

* ancient comment

* fuel cut

* fuel cut, idle tests

* cleanup

* fsio test help
2020-04-15 16:20:45 -04:00
Matthew Kennedy 044766ec70
New clt consumers part 1 (#1301)
* idle

* CLT test prep

* idle target

* header

* air interpolate

* ancient comment

* fuel cut

* fuel cut, idle tests

* cleanup
2020-04-15 09:48:17 -04:00
Matthew Kennedy 345bf61bd5
Goodbye, old TPS (#1266)
* clear out tps

* boost control

* aux valves

* launch, aux valves

* unused field
2020-04-05 19:33:33 -04:00
Matthew Kennedy 3186741ddc
TPS Initialization Testing (#1264)
* test support

* stub for tests

* plumbing so we can test this

* add test

* comments
2020-04-05 09:10:08 -04:00
Matthew Kennedy 9f75c0cea6
TPS consumers: idle and ignition and obd2 and lcd (#1254)
* advance_map

* tests

* unneeded

* idle

* use driver intent instead

* and obd and lcd

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-03 19:59:08 -04:00
Matthew Kennedy 53679fab54
Finally rename injector_central to bench_test (#1229)
* bench test rename

* rename consumers

* good lord what are all of these externs doing

* fix tests
2020-03-26 08:03:55 -04:00
rusefi 645f51a038 better method names 2020-01-10 23:17:58 -05:00
Matthew Kennedy 851c6041b1 Inject timestamps in to hwHandleShaftSignal (#1090)
* injection

* injectors
2020-01-09 21:19:11 +03:00
rusefi cb9fc19f92 that's not a worth a file 2019-12-24 00:03:53 -05:00
rusefi 595db366be dead code 2019-12-23 23:42:50 -05:00
rusefi c38b4545eb refactoring 2019-12-23 23:32:43 -05:00
rusefi 3494f6ff9f adding simplicity 2019-12-23 23:25:08 -05:00
rusefi 8ffbe768cd simplicity? 2019-12-23 22:50:04 -05:00
rusefi 1576a9f731 adding simplicity 2019-12-23 22:30:58 -05:00
rusefi af4f20551b getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
rusefi c5cfd21a70 just a trivial massive rename: TriggerState > TriggerWaveform 2019-12-08 01:09:39 -05:00
rusefi 500315b042 refactoring - updating name according to new reality 2019-12-03 14:39:11 -05:00
rusefi bec88bf8c8 EngineTestHelper progress 2019-12-03 00:20:47 -05:00
rusefi 3298283973 reducing complexity 2019-12-02 23:29:06 -05:00
rusefi 4dafc65d69 misc clean-up 2019-12-02 10:18:13 -05:00
rusefi 0583fd0b6c misc clean-up 2019-12-02 10:03:50 -05:00
rusefi 7ee657d238 aux valves unit test 2019-11-23 22:55:21 -05:00
rusefi af60a46229 making progres on angle-based scheduling 2019-11-23 20:36:40 -05:00
rusefi 7b7b46a2a2 refactoring 2019-11-23 18:38:16 -05:00
Matthew Kennedy 9ee8616cb0 Use templated array references (#1027)
* update defs

* consumers, use default params

* setArrayValues in tests

* floats

* test fixing
2019-11-22 23:27:24 -05:00
andreika-git ee5ee1942c Kinetis & TLE8888 compatibility & fixes... (#991)
* TLE8888: More compatibility & postTunerStudioState

* activeConfiguration & EFI_ACTIVE_CONFIGURATION_IN_FLASH fix

* Kinetis: jump_to_bootloader() impl.

* Kinetis: UART baudrate safety check

* Kinetis: OMG!..
2019-10-31 16:06:34 -04:00
rusefi 2acdbf308b something is over-complicated here? looks like two classes should become one? 2019-10-08 02:56:19 -04:00
rusefi a65c8c9295 something is over-complicated here? looks like two classes should become one? 2019-10-08 02:35:21 -04:00
rusefi 42dc9e3662 fancy C++ s/NULL/nullptr/ 2019-10-08 01:26:35 -04:00
rusefi e6f5a6e3f4 refactoring: all events are now validated in relation to current timestamp 2019-10-07 23:02:47 -04:00
rusefi 0380d4d709 refactoring 2019-10-07 21:54:03 -04:00
rusefi 5e48109780 docs & refactoring 2019-10-07 21:23:38 -04:00
rusefi bc572bef51 reducing hell in unit tests 2019-09-25 08:40:33 -04:00
rusefi 7d65f1931e ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 17:39:13 -04:00
rusefi 539cd8b1c7 current toolchain does not work great with current rusEfi code, two methods with same name are hard for full text search :( 2019-08-08 22:33:52 -04:00
rusefi 121ad9b786 fixing build & taking a safer route 2019-08-08 22:12:51 -04:00
rusefi 7d73c6a8a9 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
fancy smansy unit test with some C++11
2019-08-08 21:27:57 -04:00
rusefi faba7ef136 reducing code duplication with unit tests 2019-05-12 20:24:35 -04:00
rusefi 4e61505620 refactoring unit test 2019-05-10 21:29:17 -04:00
rusefi d0fce6bd07 docs 2019-03-04 00:14:55 -05:00
rusefi cf8ddde1ce #699 2019-02-28 21:09:31 -05:00
rusefi ff0fee71eb refactoring: reducing code duplication 2019-02-03 09:20:36 -05:00
rusefi 541d63fe89 refactoring: reducing code duplication 2019-02-03 09:19:17 -05:00
rusefi 3127b6fd24 Refactor Trigger System #635
reducing global state magic
2019-02-03 02:33:33 -05:00
rusefi 34e97c5d8e unit tests framework fix 2019-01-22 23:09:34 -05:00
rusefi 358af4ff89 testing API improvement (?) 2019-01-21 22:34:17 -05:00
rusefi d15399bba4 refactoring around GET_RPM 2019-01-21 22:32:30 -05:00
rusefi 53b5c08c0a refactoring around GET_RPM 2019-01-21 21:48:58 -05:00
rusefi 7e909205b6 tiny spinning progress 2019-01-21 15:34:39 -05:00
rusefi 3697fc6052 future fast spinning 60/2 test 2019-01-20 22:21:12 -05:00
rusefi a8b3c8f8d2 refactoring: better location for shared methods 2019-01-15 21:36:13 -05:00
rusefi de2a196dbc migrating to googletest 2019-01-14 23:40:13 -05:00
rusefi 38ed23c43f migrating to googletest 2019-01-14 18:38:20 -05:00
rusefi eec142390a docs 2019-01-14 12:59:57 -05:00
andreika-git 775775e4fd fix! (#673) 2019-01-14 11:33:58 -05:00
rusefi 7ad94ccdc1 Trigger: Question: something strange trigger errors #662
second attempt for CUSTOM_ERR_6696 implementation
2019-01-14 11:30:41 -05:00
rusefi d69e796c37 Question: something strange trigger errors #662
unit test progress
2019-01-12 15:51:40 -05:00
rusefi 3ca1c5360f Question: something strange trigger errors #662
reducing warnings in unit tests
2019-01-12 15:32:40 -05:00
rusefi b7917800c8 making warning codes more unit testable 2019-01-12 08:34:38 -05:00
rusefi f81c1a046e minor tests improvement 2019-01-11 00:47:03 -05:00
rusefi cee7726960 random test refactoring 2019-01-10 23:39:41 -05:00
rusefi 817eb74732 random test refactoring 2019-01-10 23:39:14 -05:00
rusefi 704e7112f4 random test refactoring 2019-01-10 23:33:50 -05:00
rusefi e7ee023d2d reducing global variables in tests 2019-01-10 23:24:36 -05:00
rusefi 7453e5ce5f reducing global variables in tests 2019-01-10 23:09:56 -05:00
rusefi 34cfdfd718 reducing global variables in tests 2019-01-10 21:50:13 -05:00
rusefi a32e8a3530 reducing global variables in tests 2019-01-10 21:26:02 -05:00
rusefi 8a2494a646 reducing global variables in tests 2019-01-10 21:19:46 -05:00
rusefi 02ac3d14c7 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 20:00:21 -05:00
rusefi bb2132e2c9 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 19:57:12 -05:00
rusefi da3d230798 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 16:30:14 -05:00
rusefi 5e896ce279 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 10:36:35 -05:00
rusefi 19c410387d making either Matt or compiler or both happier 2019-01-05 00:11:17 -05:00
rusefi 2585e4cad7 #625 2018-12-25 21:05:06 -05:00
rusefi d93ae81f12 bugfix 2018-12-25 18:44:46 -05:00
rusefi 3a7f719d5c #635 2018-12-24 23:23:45 -05:00
rusefi 0c1411e271 refactoring 2018-07-28 20:02:01 -04:00
rusefi cdb235cd82 refactoring 2018-07-28 19:51:41 -04:00
rusEfi 745f7ae5cf refactoring 2018-07-28 19:39:00 -04:00
rusEfi cf1d5e2f3e refactoring 2018-07-28 19:35:50 -04:00
rusEfi 92140f9c8e wider macro usage 2018-07-28 19:21:34 -04:00
rusefi 010099aa0d refactoring 2018-07-28 15:31:01 -04:00
andreika-git ac0189270e Impl. faster engine spin-up mode (alpha-version) (#567)
* Impl. faster engine spin-up mode (alpha-version)

* A comment for RPM_LOW_THRESHOLD

* Faster engine stop detection

* Safety check for instant RPM on spinning-up

* rusefi.xml

* unit-tests & relevant fixes
2018-03-10 20:58:51 -05:00
rusefi b42dfaeabc better state reset 2018-03-04 21:10:00 -05:00
rusefi aaa7313f67 unit test reset fix 2018-03-04 20:14:47 -05:00
rusefi f861d0aabe refactoring unit tests 2018-03-04 16:39:33 -05:00
rusefi f7b3e16d8f refactoring unit tests 2018-03-04 16:38:01 -05:00
rusefi cc889cf315 docs 2018-03-04 16:34:23 -05:00
rusefi 8349897644 refactoring unit tests 2018-03-04 16:30:03 -05:00
rusefi 758c7461bd better method name 2017-06-11 15:12:41 -04:00