From e65aff42f52f610cabb617484f8921d970f18f18 Mon Sep 17 00:00:00 2001 From: Klemens Morgenstern Date: Fri, 12 May 2023 13:56:58 +0800 Subject: [PATCH] msvc scripts work again. --- .drone/drone.bat | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.drone/drone.bat b/.drone/drone.bat index 780247d7..4ff3df20 100755 --- a/.drone/drone.bat +++ b/.drone/drone.bat @@ -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"