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:
403
403
- cmake --build build --config RelWithDebInfo -- -property:UseMultiToolTask=true;CL_MPcount=5
404
404
check_script :
405
405
- ' %x64_NATIVE_TOOLS%'
406
- - ctest --test-dir build -j 5
406
+ - ctest -C RelWithDebInfo - -test-dir build -j 5
407
407
- build\src\RelWithDebInfo\bench_ecmult.exe
408
408
- build\src\RelWithDebInfo\bench_internal.exe
409
409
- build\src\RelWithDebInfo\bench.exe
Original file line number Diff line number Diff line change @@ -12,16 +12,16 @@ endif()
12
12
13
13
add_executable (ecdsa_example ecdsa.c )
14
14
target_link_libraries (ecdsa_example example )
15
- add_test (ecdsa_example ecdsa_example )
15
+ add_test (NAME ecdsa_example COMMAND ecdsa_example )
16
16
17
17
if (SECP256K1_ENABLE_MODULE_ECDH )
18
18
add_executable (ecdh_example ecdh.c )
19
19
target_link_libraries (ecdh_example example )
20
- add_test (ecdh_example ecdh_example )
20
+ add_test (NAME ecdh_example COMMAND ecdh_example )
21
21
endif ()
22
22
23
23
if (SECP256K1_ENABLE_MODULE_SCHNORRSIG )
24
24
add_executable (schnorr_example schnorr.c )
25
25
target_link_libraries (schnorr_example example )
26
- add_test (schnorr_example schnorr_example )
26
+ add_test (NAME schnorr_example COMMAND schnorr_example )
27
27
endif ()
Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ endif()
53
53
if (SECP256K1_BUILD_TESTS )
54
54
add_executable (noverify_tests tests.c )
55
55
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 )
57
57
if (NOT CMAKE_BUILD_TYPE STREQUAL "Coverage" )
58
58
add_executable (tests tests.c )
59
59
target_compile_definitions (tests PRIVATE VERIFY )
60
60
target_link_libraries (tests secp256k1_precomputed secp256k1_asm )
61
- add_test (tests tests )
61
+ add_test (NAME tests COMMAND tests )
62
62
endif ()
63
63
endif ()
64
64
@@ -67,7 +67,7 @@ if(SECP256K1_BUILD_EXHAUSTIVE_TESTS)
67
67
add_executable (exhaustive_tests tests_exhaustive.c )
68
68
target_link_libraries (exhaustive_tests secp256k1_asm )
69
69
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 )
71
71
endif ()
72
72
73
73
if (SECP256K1_BUILD_CTIME_TESTS )
You can’t perform that action at this time.
0 commit comments