File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ task:
403403 - cmake --build build --config RelWithDebInfo -- -property:UseMultiToolTask=true;CL_MPcount=5
404404 check_script :
405405 - ' %x64_NATIVE_TOOLS%'
406- - ctest --test-dir build -j 5
406+ - ctest -C RelWithDebInfo - -test-dir build -j 5
407407 - build\src\RelWithDebInfo\bench_ecmult.exe
408408 - build\src\RelWithDebInfo\bench_internal.exe
409409 - build\src\RelWithDebInfo\bench.exe
Original file line number Diff line number Diff line change @@ -12,16 +12,16 @@ endif()
1212
1313add_executable (ecdsa_example ecdsa.c)
1414target_link_libraries (ecdsa_example example)
15- add_test (ecdsa_example ecdsa_example)
15+ add_test (NAME ecdsa_example COMMAND ecdsa_example)
1616
1717if (SECP256K1_ENABLE_MODULE_ECDH)
1818 add_executable (ecdh_example ecdh.c)
1919 target_link_libraries (ecdh_example example)
20- add_test (ecdh_example ecdh_example)
20+ add_test (NAME ecdh_example COMMAND ecdh_example)
2121endif ()
2222
2323if (SECP256K1_ENABLE_MODULE_SCHNORRSIG)
2424 add_executable (schnorr_example schnorr.c)
2525 target_link_libraries (schnorr_example example)
26- add_test (schnorr_example schnorr_example)
26+ add_test (NAME schnorr_example COMMAND schnorr_example)
2727endif ()
Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ endif()
5353if (SECP256K1_BUILD_TESTS)
5454 add_executable (noverify_tests tests.c)
5555 target_link_libraries (noverify_tests secp256k1_precomputed secp256k1_asm)
56- add_test (noverify_tests noverify_tests)
56+ add_test (NAME noverify_tests COMMAND noverify_tests)
5757 if (NOT CMAKE_BUILD_TYPE STREQUAL "Coverage" )
5858 add_executable (tests tests.c)
5959 target_compile_definitions (tests PRIVATE VERIFY)
6060 target_link_libraries (tests secp256k1_precomputed secp256k1_asm)
61- add_test (tests tests)
61+ add_test (NAME tests COMMAND tests)
6262 endif ()
6363endif ()
6464
@@ -67,7 +67,7 @@ if(SECP256K1_BUILD_EXHAUSTIVE_TESTS)
6767 add_executable (exhaustive_tests tests_exhaustive.c)
6868 target_link_libraries (exhaustive_tests secp256k1_asm)
6969 target_compile_definitions (exhaustive_tests PRIVATE $<$<NOT :$<CONFIG:Coverage>>:VERIFY>)
70- add_test (exhaustive_tests exhaustive_tests)
70+ add_test (NAME exhaustive_tests COMMAND exhaustive_tests)
7171endif ()
7272
7373if (SECP256K1_BUILD_CTIME_TESTS)
You can’t perform that action at this time.
0 commit comments