msvc scripts work again.

This commit is contained in:
Klemens Morgenstern
2023-05-12 13:56:58 +08:00
parent 7625ec7531
commit e65aff42f5

View File

@ -21,19 +21,26 @@ call bootstrap.bat
b2 headers
echo "============> SCRIPT"
cd libs/beast
IF DEFINED DEFINE SET B2_DEFINE="define=%DEFINE%"
echo "Running tests"
b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% --verbose-test libs/beast/test -j3
cd test
b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% --verbose-test -j3
cd ..
if !errorlevel! neq 0 exit /b !errorlevel!
echo "Running libs/beast/example"
b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% libs/beast/example -j3
cd example
b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% -j3
cd ..
if !errorlevel! neq 0 exit /b !errorlevel!
echo "Running run-fat-tests"
b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% --verbose-test libs/beast/test//run-fat-tests -j3
cd test
b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% --verbose-test run-fat-tests -j3
cd ..
if !errorlevel! neq 0 exit /b !errorlevel!
echo "============> COMPLETED"