mirror of
https://github.com/allankoechke/soci.git
synced 2026-11-29 09:33:26 +00:00
Run tests on AppVeyor again
This was broken by 2890781e (Simplify CMake configuration command used
under AppVeyor, 2025-06-13) which didn't change the current directory to
the build directory any longer and went unnoticed for a long, long time.
Specify the build directory explicitly when running ctest to fix this.
This commit is contained in:
@@ -115,7 +115,7 @@ build_script:
|
||||
- cmake --build build --config %CONFIGURATION% -- %BUILD_TOOL_OPTIONS%
|
||||
|
||||
test_script:
|
||||
- ctest -V --timeout 300 --output-on-failure --build-config %CONFIGURATION% --exclude-regex "%SOCI_ODBC_SKIP_TESTS%"
|
||||
- ctest --test-dir build -V --timeout 300 --output-on-failure --no-tests=error --build-config %CONFIGURATION% --exclude-regex "%SOCI_ODBC_SKIP_TESTS%"
|
||||
|
||||
# Uncomment this to wait for RDP connection after the build end.
|
||||
#on_finish:
|
||||
|
||||
Reference in New Issue
Block a user