Skip to content

Commit

Permalink
Test version command
Browse files Browse the repository at this point in the history
  • Loading branch information
uholeschak committed Dec 11, 2024
1 parent fbdae46 commit 91cfbfd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
18 changes: 10 additions & 8 deletions EdiabasLib/Test/Ecu/CompileNet.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ SETLOCAL EnableDelayedExpansion
set "BATPATH=%~dp0"
set "ECU_PATH=!BATPATH!"
set "BESTNET_PATH=!BATPATH!..\..\..\Tools\BestNet\artifacts\bin\BestNet\release\BestNet.exe"
rem set "EXTRA_OPT=-k"
set "EXTRA_OPT="

IF NOT EXIST "!BESTNET_PATH!" (
echo !BESTNET_PATH! not existing
Expand All @@ -12,42 +14,42 @@ IF NOT EXIST "!BESTNET_PATH!" (

echo:
echo compiling base1.b1v
"!BESTNET_PATH!" -i "!ECU_PATH!\base1.b1v" || EXIT /b 1
"!BESTNET_PATH!" !EXTRA_OPT! -i "!ECU_PATH!\base1.b1v" || EXIT /b 1
echo done

echo:
echo compiling base2.b1v
"!BESTNET_PATH!" -i "!ECU_PATH!\base2.b1v" || EXIT /b 1
"!BESTNET_PATH!" !EXTRA_OPT! -i "!ECU_PATH!\base2.b1v" || EXIT /b 1
echo done

echo:
echo compiling cmd_test1.b1v
"!BESTNET_PATH!" -i "!ECU_PATH!\cmd_test1.b1v" || EXIT /b 1
"!BESTNET_PATH!" !EXTRA_OPT! -i "!ECU_PATH!\cmd_test1.b1v" || EXIT /b 1
echo done

echo:
echo compiling cmd_test2.b2v
"!BESTNET_PATH!" -i "!ECU_PATH!\cmd_test2.b2v" -l "!ECU_PATH!\test.lib" || EXIT /b 1
"!BESTNET_PATH!" !EXTRA_OPT! -i "!ECU_PATH!\cmd_test2.b2v" -l "!ECU_PATH!\test.lib" || EXIT /b 1
echo done

echo:
echo compiling cmd_ident.b1g
"!BESTNET_PATH!" -i "!ECU_PATH!\cmd_ident.b1g" || EXIT /b 1
"!BESTNET_PATH!" !EXTRA_OPT! -i "!ECU_PATH!\cmd_ident.b1g" || EXIT /b 1
echo done

echo:
echo compiling adapter_prg.b2v
"!BESTNET_PATH!" -i "!ECU_PATH!\adapter_prg.b2v" || EXIT /b 1
"!BESTNET_PATH!" !EXTRA_OPT! -i "!ECU_PATH!\adapter_prg.b2v" || EXIT /b 1
echo done

echo:
echo compiling d60m47a0_dcan.b1v
"!BESTNET_PATH!" -i "!ECU_PATH!\d60m47a0_dcan.b1v" || EXIT /b 1
"!BESTNET_PATH!" !EXTRA_OPT! -i "!ECU_PATH!\d60m47a0_dcan.b1v" || EXIT /b 1
echo done

echo:
echo dm338ds1_interbyte.b1v
"!BESTNET_PATH!" -i "!ECU_PATH!\dm338ds1_interbyte.b1v" || EXIT /b 1
"!BESTNET_PATH!" !EXTRA_OPT! -i "!ECU_PATH!\dm338ds1_interbyte.b1v" || EXIT /b 1
echo done

echo:
Expand Down
1 change: 1 addition & 0 deletions EdiabasLib/Test/Ecu/cmd_test1.b1v
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@


#SSIZE 2048
;#VERSION 1795

USES "base1"

Expand Down
Binary file modified EdiabasLib/Test/Ecu/cmd_test1.prg
Binary file not shown.
Binary file modified EdiabasLib/Test/Ecu/cmd_test2.prg
Binary file not shown.

0 comments on commit 91cfbfd

Please sign in to comment.