mirror of https://github.com/rusefi/rusefi-1.git
21 lines
676 B
Batchfile
21 lines
676 B
Batchfile
rem This script reads triggers.txt generated by unit_test binary and produces a bunch of trigger shapes .png files
|
|
rem these images placed into unit_tests/triggers
|
|
rem and later manually published at https://rusefi.com/images/triggers/
|
|
|
|
cd ../unit_tests
|
|
make -j4
|
|
if not exist build/rusefi_test.exe echo UNIT TEST COMPILATION FAILED
|
|
if not exist build/rusefi_test.exe exit -1
|
|
|
|
rem This is me using Cygwin on all my Windows devices
|
|
ls -l build/rusefi_test.exe
|
|
|
|
|
|
del triggers.txt
|
|
build\rusefi_test.exe
|
|
pwd
|
|
|
|
if not exist triggers.txt echo triggers.txt generation FAILED
|
|
if not exist triggers.txt exit -1
|
|
|
|
java -cp ../java_console_binary/rusefi_console.jar com.rusefi.TriggerImage |