Commit Graph

388 Commits

Author SHA1 Message Date
Lenar Khannanov 555d9dfe4e
Feature 3014 migrating to gradle (#3079)
* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured enum_to_string for migrating to gradle

* fix: corrected main build.xml

* fix: corrected main build.xml for romraider

* fix: corrected main build.xml for romraider

* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured enum_to_string for migrating to gradle

* fix: corrected main build.xml

* fix: corrected main build.xml for romraider

* fix: corrected main build.xml for romraider

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* upd: get changes from master; fix: rebasing conflicts

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* upd: up-to-master; fix: conflicts in build.xml's

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* fix: conflicts from master

* feat: restructured shared_ui module for gradle; fix: main build.xml

* feat: restructured tools module; fix: main build.xml according to new structure

* feat: restructured modules in java_tools with build.xml; fix: corrected paths in build.xml's and .iml's according to the new structure; corrected path in gen_ptrace_enums.bat
2021-07-30 08:15:32 -04:00
Matthew Kennedy 755b6248f7
proteus hw ci: wait longer but be stricter (#3035)
* wait longer but be stricter

* kick

* wiring note
2021-07-22 23:08:48 -04:00
Matthew Kennedy ce4eb2b55d
fix trigger changed logic (#2860)
* reenable

* fix

* longer interval between updates

* only deinit hard trigger outputs if necessary

* init logic

* init order

* warning

* guard

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-25 19:38:42 -04:00
rusefillc 68fcf1224f F4 MCU says it's too cold #2552 2021-06-21 02:49:06 -04:00
rusefillc f42c6fce58 off-topic method rename 2021-06-21 02:46:11 -04:00
rusefillc 3d5bba4226 TS Burned All Data engine stop #2839
a good sleep helps a lot of things
2021-06-21 02:39:16 -04:00
rusefillc 902be1afe7 TS Burned All Data engine stop #2839
it was a bad API but I did not improve it
2021-06-21 02:23:29 -04:00
rusefillc 5571df5660 clean-up 2021-06-21 02:10:11 -04:00
rusefillc 2cf137280d TS Burned All Data engine stop #2839
is this a case of poor API?
2021-06-21 02:09:41 -04:00
rusefillc 102ac146db TS Burned All Data engine stop #2839
is this a case of poor API?
2021-06-21 02:09:17 -04:00
rusefillc d632b8825f TS Burned All Data engine stop #2839
finally test case?
2021-06-21 01:01:35 -04:00
rusefillc 21379669bc TS Burned All Data engine stop #2839
test case?
2021-06-21 00:50:11 -04:00
rusefillc 540511817d TS Burned All Data engine stop #2839
test case?
2021-06-21 00:31:13 -04:00
rusefillc de58c4ccd0 TS Burned All Data engine stop #2839
test case?
2021-06-21 00:22:19 -04:00
rusefillc 408d554379 only test refactoring 2021-06-20 23:58:32 -04:00
Matthew Kennedy e0763c6994
stop trigger emulator PWM when disabled (#2443)
* simplify trig emulator

* spelling is hard

* fix various builds

* spelling again

* add command/button for external stimulation

* enable hw stim for HW-in-loop test

* s

* I does spelling good

* clear flag when disabled

* generate enough for console build

* don't disable that

* this test needs external stimulation enabled

* import

* ui improvements

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-11 08:38:52 -05:00
Matthew Kennedy 3d17e62d65
finish off vbatt -> sensor model (#2433)
* more vbatt

* s

* goodbye voltage

* makefile

* apparently that part was in use

* include

* mocking
2021-03-07 20:18:32 -05:00
rusefillc b54c1f13de Merge remote-tracking branch 'origin/master' into master 2021-02-28 19:41:06 -05:00
rusefillc 2d9d0abb30 better handing of lack of port 2021-02-28 19:40:57 -05:00
Matthew Kennedy ebb6f3033a
hardware CI for clt/iat inputs (#2401)
* test raw CLT/IAT

* dot zero
2021-02-25 17:09:16 -05:00
rusefillc 9590a095ba aux valve to CI 2021-02-18 00:11:26 -05:00
Matthew Kennedy 0cb079c2a3
increase proteus analog tolerance (#2327) 2021-02-09 19:10:00 -06:00
Matthew Kennedy 21426f7e91
Hw ci mcu temperature (#2324)
* this was wrong

* test temp sensor

* import

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-09 14:24:44 -06:00
Matthew Kennedy 9f0ebaac49
Proteus analog input ci (#2271)
* test vbatt

* test proteus vbatt

* tolerance

* these don't work on proteus

* new engine type

* test analog input

* more test points, less tolerance

* console build needs this file generated

* only include for hw ci builds

* wiring info

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-03 13:34:48 -06:00
Matthew Kennedy 0fb500a08a
A hardware CI test for Proteus 🎉🎉🎉 (#2270)
* test vbatt

* test proteus vbatt

* tolerance

* these don't work on proteus

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-03 08:05:18 -06:00
Matthew Kennedy c9b0334eb5
Partition hw tests (#2267)
* partition in to f4 disco

* cleanup

* stub proteus test

* add proteus build config
2021-02-02 23:10:21 -05:00
Matthew Kennedy 2246bdde2f
maybe fix protege HW CI (#2219)
* maybe fix protege too

* formatting
2021-01-10 20:27:21 -05:00
Matthew Kennedy 8d5495111e
Fix master fatal error (#2206)
* print the fatal that caused test failure

* fix the error
2021-01-09 15:13:43 -05:00
Matthew Kennedy 1df887bc8c
switch to array'd version of asserts (#2158) 2020-12-29 19:42:03 -05:00
Matthew Kennedy 98644b680f
Switch other tests to use assertWaveNotNull (#2115)
* test switching ignition modes

* change others to new check

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-29 18:39:54 -05:00
Matthew Kennedy b2cb46d724
HW CI: rev limiter (#2141)
* test rev limit

* comment, format

* make test work

* check that it goes back to normal

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-26 17:14:04 -05:00
Matthew Kennedy 52fef7aec3
base class for HW CI tests (#2133)
* extract test base

* newline
2020-12-24 20:50:52 -05:00
Matthew Kennedy a7846977ba
use junit fail instead of throw (#2114)
* use junit fail

* no pause
2020-12-24 20:27:39 -05:00
Matthew Kennedy 7be06627eb
run tests from cmdline (#2132)
* run tests

* include junit in jar

* tabs spaces
2020-12-24 20:12:43 -05:00
Matthew Kennedy 48ffc6cc22
fix race condition in CommandQueue, massively speeding up HW CI tests (#2129)
* fix command semaphore

* guard

* remove todo

* dead field

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 09:23:46 -05:00
Matthew Kennedy 3d13d03424
Purge e34 config (#2127)
* remove

* enums

* s

* func test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:31:25 -05:00
Matthew Kennedy f1faf16a78
More sensor listener lambdas (#2121)
* api

* ioutil

* more lambdas
2020-12-22 20:12:50 -05:00
Matthew Kennedy 718cbff14b
use token for sensor listener unsubscribe (#2120)
* api

* ioutil
2020-12-22 18:48:55 -05:00
rusefillc b94c3588bc they say this should help build 2020-12-22 18:47:17 -05:00
Matthew Kennedy ba9de3a604
Purge fiesta config (#2117)
* config

* this had a feature flag?

* enums

* goodbye, fiesta
2020-12-22 17:22:05 -05:00
Matthew Kennedy 8737ba62c2
Purge rover v8 config (#2116)
* bye

* goodbye, rover v8

* that snuck in

* use a different config for that test
2020-12-22 10:05:54 -05:00
Matthew Kennedy 37c502120f
test switching ignition modes (#2113) 2020-12-22 09:23:17 -05:00
rusefillc b839b72a72 HW CI is flaky :( #2063 2020-12-21 22:21:17 -05:00
rusefi 7b97a60a44 HW CI is flaky :( #2063 2020-12-21 10:45:49 -05:00
rusefillc f79d2e052b HW CI is flaky :( #2063
more forward progress
2020-12-21 09:46:02 -05:00
rusefillc e410afe543 something ? HIP / SPI pin conflict does not fail gracefully #2108
undoing unneeded change?
2020-12-20 19:54:36 -05:00
rusefillc 038eb00207 something ? HIP / SPI pin conflict does not fail gracefully #2108
maybe this is just testing framework bug?
2020-12-20 17:17:03 -05:00
rusefillc 11017d02e0 something ? HIP / SPI pin conflict does not fail gracefully #2108
after 50 good runs, returning rover
2020-12-20 09:46:25 -05:00
rusefillc a01e1baa39 i am pretty sure it's not part of the problem 2020-12-20 09:12:06 -05:00
rusefillc bc2b5c71e6 something ? HIP / SPI pin conflict does not fail gracefully #2108
one step back to be a bit more sure
2020-12-19 20:39:38 -05:00
rusefillc dff387929a something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 15:18:23 -05:00
rusefillc ccf1bfff44 HW CI is flaky :( #2063
which one is it? testRoverV8?
2020-12-19 13:04:56 -05:00
rusefillc a2a0bfa51a HW CI is flaky :( #2063
slow forward movement
2020-12-19 07:15:33 -05:00
rusefi db1d73b495 HW CI is flaky :( #2063 2020-12-18 23:32:30 -05:00
rusefillc bd1ca5b296 HW CI is flaky :( #2063
we have no idea. let's run 30 times like this
2020-12-18 20:23:03 -05:00
rusefillc 3cb2439ff7 remove dangerous pin options from E34 config #2105 2020-12-18 18:55:02 -05:00
rusefillc f9cddcc5e4 i bet it does not matter 2020-12-18 17:15:59 -05:00
rusefillc 1fb3b63711 does this matter? 2020-12-18 16:38:07 -05:00
rusefillc 36a1e291f1 progress 2020-12-18 14:52:11 -05:00
shadowm60 1fafda7daa
Test Idle PWM (#2103)
* Create PwmHardwareTest.java

Test idle pwm

* Update PwmHardwareTest.java

assert with +-1%
2020-12-18 14:49:59 -05:00
rusefillc 7492172722 docs 2020-12-18 14:48:58 -05:00
rusefillc 0caafbb5d2 docs 2020-12-18 14:48:33 -05:00
rusefillc 141291ba9c one more step forward 2020-12-18 10:36:28 -05:00
rusefillc dae9912e88 one more step forward 2020-12-18 10:00:50 -05:00
rusefillc 3487ca5300 HW CI is flaky :( #2063 2020-12-17 22:22:44 -05:00
rusefillc fab0c1c59b HW CI is flaky :( #2063
is it about performance?
2020-12-17 20:41:51 -05:00
rusefillc b17973ee33 Revert "one more step forward"
This reverts commit 29842bde
2020-12-14 22:22:31 -05:00
rusefillc 29842bde5c one more step forward 2020-12-14 20:38:04 -05:00
rusefillc 0ac071c50d one more step forward 2020-12-14 19:47:37 -05:00
rusefillc acd9dbbd2a one more step forward 2020-12-14 16:58:56 -05:00
rusefillc e3bdeb6f73 one more step forward 2020-12-14 13:20:06 -05:00
rusefillc 280d0f9da9 one more step forward 2020-12-13 21:52:52 -05:00
rusefi 1081760267 one step forward 2020-12-13 12:20:04 -05:00
rusefillc a0cdb05771 one step back with HW CI 2020-12-13 10:42:12 -05:00
rusefi 5242171c43 basic hw in the loop - pwm self validation #2028 2020-12-13 00:17:54 -05:00
rusefi 3415e1d9d6 basic hw in the loop - pwm self validation #2028 2020-12-13 00:02:19 -05:00
rusefi 86a6b3f7ad basic hw in the loop - pwm self validation #2028 2020-12-12 23:00:18 -05:00
rusefillc a7ff26d3c3 migrating hardware tests to junit 2020-12-12 20:33:19 -05:00
rusefillc 02e788d0e1 typo 2020-12-12 20:26:56 -05:00
rusefillc 9e451defb4 basic hw in the loop - pwm self validation #2028 2020-12-12 20:22:58 -05:00
rusefillc 31df994c79 let's use composition 2020-12-12 18:58:30 -05:00
rusefillc 118cec97c2 moving start-up script from java to bash 2020-12-12 18:39:05 -05:00
rusefillc aaef77fd8a basic hw in the loop - pwm self validation #2028 2020-12-12 17:28:27 -05:00
rusefillc f55b975b3e auto test clean-up 2020-12-12 15:44:57 -05:00
rusefillc 8739e192f5 basic hw in the loop - pwm self validation #2028 2020-12-06 18:39:50 -05:00
rusefillc beb1adda95 engine sniffer - pins are not displayed #1995 2020-12-01 23:08:41 -05:00
rusefillc 3b6f3bb8ca engine sniffer - pins are not displayed #1995 2020-12-01 22:57:00 -05:00
rusefillc 63abcf8c3c Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 18:42:23 -05:00
rusefillc b977dc5fac Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 17:53:01 -05:00
rusefillc 9790bf47e1 HW test doc 2020-11-15 18:10:05 -05:00
rusefillc 350e89223b HW CI has failed 11 times since Oct 2 #1849 2020-10-16 22:57:12 -04:00
rusefi 16dd9a820b Trigger sync lost every 2^32 CPU cycles #1873
QA automation coverage
2020-10-11 19:16:16 -04:00
rusefillc 2398741ed3 60/2 perf grab #1850 2020-10-05 11:19:50 -04:00
rusefillc dbd66ce6bb 60/2 perf grab #1850 2020-10-04 20:44:07 -04:00
rusefillc aba38d661c 60/2 perf grab #1850
autotest does not need composite logging tourture
2020-10-04 02:09:39 -04:00
rusefillc 9c260784cb 60/2 perf grab #1850
have to settle on less for now?
2020-10-04 01:00:10 -04:00
rusefillc dce24274a2 HW CI has failed 11 times since Oct 2 #1849 2020-10-03 19:45:39 -04:00
rusefi d38cb3fabe better error message 2020-09-12 04:31:35 -04:00
rusefi 8d0555e205 reducing autotest mess 2020-08-29 15:41:09 -04:00
rusefi 628c640f61 reducing autotest mess 2020-08-29 15:05:54 -04:00