@echo off
SETLOCAL
call ..\Config\settings.bat

echo.
echo +++ Running test Axivion Start +++

FOR /F %%I IN ('git rev-parse HEAD') DO SET GIT_COMMIT_HASH_VALUE=%%I


cd ..\..\Build\ToolsSpecific\Cust\In\In005\AXIVION
D:\ALGitRepo\ToolsGeneric\Utilities\CommonDomain\sed\sed.exe "s@..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\ToolsGeneric@D:\\\\ALGitRepo\\\\ToolsGeneric@g" compiler_config.json > compiler_config.jsonModified
del compiler_config.json
move compiler_config.jsonModified compiler_config.json
D:\ALGitRepo\ToolsGeneric\Utilities\CommonDomain\sed\sed.exe "s@./../../../../../../../ToolsGeneric@D:/ALGitRepo/ToolsGeneric@g" compiler_config.json > compiler_config.jsonModified
del compiler_config.json
move compiler_config.jsonModified compiler_config.json
cd ..\..\..\..\CI\Support

cd ..\..\Build\ToolsSpecific\Cust\In\In005\AXIVION
set PATH=%CD%\..\..\..\..\..\..\..\ToolsGeneric\StaticCodeAnalysis\AXIVION\bauhaus-suite-7_4_3-x86_64-windows\bauhaus-suite\bin;%PATH%
set PATH=D:\ALGitRepo\ToolsGeneric\StaticCodeAnalysis\AXIVION\bauhaus-suite-7_4_3-x86_64-windows\bauhaus-suite\bin;%PATH%
call start_analysis.bat
cd ..\..\..\..\CI\Support


echo.
echo +++ Running test AXIVION Done +++
