readme
This commit is contained in:
parent
9161703598
commit
9d3805eafc
|
@ -0,0 +1,6 @@
|
||||||
|
In this folder we have rusEfi unit tests using https://github.com/google/googletest
|
||||||
|
|
||||||
|
Unit tests are not aware of ChibiOS or ARM or else, they are just plain C/C++ which you build for your desktop, not your MCU.
|
||||||
|
|
||||||
|
1. Run 'make' to build desktop binary.
|
||||||
|
1. Execute rusefi_test binary on your PC/Mac, it's expected to say SUCCESS and not fail :) Googletest will also print results summary.
|
|
@ -1,7 +0,0 @@
|
||||||
In this folder we have a naive test suite.
|
|
||||||
|
|
||||||
I am not sure what is the best approach to tests in C (someone can educate me), but my approach is:
|
|
||||||
|
|
||||||
Unit tests are not aware of ChibiOS or ARM or else, they are just plain C/C++ which you build for your desktop, not your MCU.
|
|
||||||
|
|
||||||
Run 'make' to build desktop binary & run it on your PC/Mac, it's expected to say SUCCESS and not fail :)
|
|
Loading…
Reference in New Issue