b4807708c8
* Add checkout * remove empty with statement * Actually we do need push depth * convert build_working_folder * convert prepare_bundle * fixed extension * fixed closing bracket * fixed comparison and assignments * no comment * convert compile_and_upload and clean * convert build_simulator * Finish converting build_working_folder * convert build_java_console * Add hashbangs * remove findcyg instruction * changed paths * remove call * add path * fixed script names * add prams * fix cd * convert clean_env_variables * convert common_make.sh * Added linux hex2dfu binary * add file extension to linux hex2dfu * add file extension to linux hex2dfu * remove spurious paren * fixed board name * convert compile-frankenso-na6 * convert compile-frankenso-pal * add hashbang * convert compile-kinetis * convert compile-mre-f4 * convert compile-mre-f4-hardware-QC-special-build * convert compile-mre-f4-slave * convert compile-mre-f7 * convert compile-mre-f7-test * switch to underscores * converting boards to sh * convert prometheus * convert proteus * fixed path * switch to underscores * chmod and add extension * add quotes * Add check for Windows * Add chmod * fix script name * fix error checking * quote vars * remove checking from batch shims * fix typo * change error checking to support nix style error codes * switch to 1 retval * cd back to firmware * Add escapes * change from cd to rel path * add p flags to mkdir Co-authored-by: David Holdeman <David Holdeman> |
||
---|---|---|
.. | ||
googletest@dcc92d0ab6 | ||
test_basic_math | ||
tests | ||
.cproject | ||
.gitignore | ||
.project | ||
Makefile | ||
adc_inputs.h | ||
boards.cpp | ||
boards.h | ||
ci_gcov.sh | ||
compile.bat | ||
compile.sh | ||
efifeatures.h | ||
engine_test_helper.cpp | ||
engine_test_helper.h | ||
global.h | ||
global_execution_queue.cpp | ||
global_execution_queue.h | ||
globalaccess.h | ||
gmock-all.cpp | ||
gtest-all.cpp | ||
jenkins.sh | ||
main.cpp | ||
map_resize.cpp | ||
map_resize.h | ||
mocks.h | ||
os_access.h | ||
readme.md | ||
rules.mk | ||
run_clean_gcov.sh | ||
run_gcov.bat | ||
test.mk | ||
unit_test_framework.cpp | ||
unit_test_framework.h |
readme.md
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.
- Run 'make' to build desktop binary.
- Execute rusefi_test binary on your PC/Mac, it's expected to say SUCCESS and not fail :) Googletest will also print results summary.