cmake: Use full signature of add_test() command

An executable target in the `COMMAND` option will automatically be
replaced by the location of the executable created at build time.

This change fixes tests for Windows binaries using Wine.
This commit is contained in:
Hennadii Stepanov
2023-04-29 09:49:25 +01:00
parent 4b0f711d46
commit 755629bc03
3 changed files with 7 additions and 7 deletions

View File

@@ -403,7 +403,7 @@ task:
- cmake --build build --config RelWithDebInfo -- -property:UseMultiToolTask=true;CL_MPcount=5
check_script:
- '%x64_NATIVE_TOOLS%'
- ctest --test-dir build -j 5
- ctest -C RelWithDebInfo --test-dir build -j 5
- build\src\RelWithDebInfo\bench_ecmult.exe
- build\src\RelWithDebInfo\bench_internal.exe
- build\src\RelWithDebInfo\bench.exe