rusefi-1/unit_tests
Andrey B 7dc4d26e1c sync 2014-04-30 11:21:31 -05:00
..
test_basic_math newer version 2014-04-22 20:15:29 -05:00
test_data_structures sync 2014-04-30 11:21:31 -05:00
.cproject manual sync 2014-04-30 11:05:25 -05:00
.project newer version 2014-04-22 20:15:29 -05:00
Makefile manual sync 2014-04-30 11:05:25 -05:00
adc_inputs.h newer version 2014-04-22 20:15:29 -05:00
boards.c newer version 2014-04-22 20:15:29 -05:00
boards.h newer version 2014-04-22 20:15:29 -05:00
compile.bat newer version 2014-04-22 20:15:29 -05:00
efifeatures.h manual sync 2014-04-30 11:05:25 -05:00
global.h newer version 2014-04-22 20:15:29 -05:00
jenkins.sh newer version 2014-04-22 20:15:29 -05:00
junction.exe initial 2014-04-22 17:15:49 -05:00
main.cpp manual sync 2014-04-30 11:05:25 -05:00
main.h manual sync 2014-04-30 11:05:25 -05:00
makelinks.bat newer version 2014-04-22 20:15:29 -05:00
map_resize.c newer version 2014-04-22 20:15:29 -05:00
map_resize.h newer version 2014-04-22 20:15:29 -05:00
readme.txt newer version 2014-04-22 20:15:29 -05:00
rules.mk newer version 2014-04-22 20:15:29 -05:00
settings.h newer version 2014-04-22 20:15:29 -05:00
test.mk manual sync 2014-04-30 11:05:25 -05:00
test_engine_math.cpp sync 2014-04-30 11:21:31 -05:00
test_engine_math.h newer version 2014-04-22 20:15:29 -05:00
test_fuel_map.cpp sync 2014-04-30 11:21:31 -05:00
test_fuel_map.h newer version 2014-04-22 20:15:29 -05:00
test_idle_controller.c newer version 2014-04-22 20:15:29 -05:00
test_idle_controller.h newer version 2014-04-22 20:15:29 -05:00
test_sensors.c newer version 2014-04-22 20:15:29 -05:00
test_sensors.h newer version 2014-04-22 20:15:29 -05:00
test_signal_executor.cpp sync 2014-04-30 11:21:31 -05:00
test_signal_executor.h newer version 2014-04-22 20:15:29 -05:00
test_trigger_decoder.cpp sync 2014-04-30 11:21:31 -05:00
test_trigger_decoder.h newer version 2014-04-22 20:15:29 -05:00
test_util.cpp newer version 2014-04-22 20:15:29 -05:00
test_util.h newer version 2014-04-22 20:15:29 -05:00

readme.txt

In this folder we have a naive test set. I am not sure what is the best approach to tests in C (someone can educate me), but my approach is:

1) with a symlink linking some (only some, not all) folders of the firmware implementation, we can compile some files of the firmware as win32 code.
Please execute the 'makelinks.bat' file to get the links. On XP you might need to execute 'junction.exe' before exuting the .bat file.

2) we then compile & run the .exe, which is expected to say SUCCESS and not fail :)