From 19d5992def43db48eb81405c7478361ee1e2841b Mon Sep 17 00:00:00 2001 From: Klemens Morgenstern Date: Mon, 15 May 2023 10:18:15 +0800 Subject: [PATCH] drone.bat actually runs the tests. --- .drone/drone.bat | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.drone/drone.bat b/.drone/drone.bat index 4ff3df20..7902afee 100755 --- a/.drone/drone.bat +++ b/.drone/drone.bat @@ -26,21 +26,15 @@ cd libs/beast IF DEFINED DEFINE SET B2_DEFINE="define=%DEFINE%" echo "Running tests" -cd test -b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% --verbose-test -j3 -cd .. +..\..\b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% --verbose-test -j3 test if !errorlevel! neq 0 exit /b !errorlevel! echo "Running libs/beast/example" -cd example -b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% -j3 -cd .. +..\..\b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% -j3 example if !errorlevel! neq 0 exit /b !errorlevel! echo "Running run-fat-tests" -cd test -b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% --verbose-test run-fat-tests -j3 -cd .. +..\..\b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% --verbose-test test//run-fat-tests -j3 if !errorlevel! neq 0 exit /b !errorlevel! echo "============> COMPLETED"