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:
Vadim Zeitlin
2026-09-01 00:50:17 +02:00
parent 5882eaeea5
commit d6c9988727

View File

@@ -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: