32 lines
512 B
Batchfile
32 lines
512 B
Batchfile
|
echo I am hw_test.bat
|
||
|
|
||
|
cd ../firmware
|
||
|
call flash_erase
|
||
|
echo Compiling firmware
|
||
|
pwd
|
||
|
call compile.bat
|
||
|
|
||
|
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
|
||
|
|