rusefi-full/misc/hw_test.bat

32 lines
524 B
Batchfile
Raw Normal View History

2017-02-20 14:38:16 -08:00
echo I am hw_test.bat
cd ../firmware
call flash_erase
echo Compiling firmware
pwd
2017-03-12 14:30:02 -07:00
call compile_and_program.bat
2017-02-20 14:38:16 -08:00
if not exist build/rusefi.bin echo FAILED TO COMPILE
if not exist build/rusefi.bin exit -1
pwd
cd ..
echo Running some commands
pwd
rem java -cp java_console_binary\rusefi_console.jar com.rusefi.CmdLine "set_led_blinking_period 10"
cd java_console
echo Running tests
which java
which javac
ant realtest
IF NOT ERRORLEVEL echo ERROR DETECTED
IF NOT ERRORLEVEL 0 EXIT /B 1