File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ function(add_example name)
9
9
$< $< PLATFORM_ID:Windows> :bcrypt>
10
10
)
11
11
set (test_name ${name} _example )
12
- add_test (NAME ${test_name} COMMAND ${target_name} )
12
+ add_test (NAME ${SECP256K1_TESTNAME_PREFIX}${ test_name} COMMAND ${target_name} )
13
13
if (BUILD_SHARED_LIBS AND MSVC )
14
14
# The DLL must reside either in the same folder where the executable is
15
15
# or somewhere in PATH. Using the latter option.
Original file line number Diff line number Diff line change @@ -87,12 +87,12 @@ endif()
87
87
if (SECP256K1_BUILD_TESTS )
88
88
add_executable (noverify_tests tests.c )
89
89
target_link_libraries (noverify_tests secp256k1_precomputed secp256k1_asm )
90
- add_test (NAME noverify_tests COMMAND noverify_tests )
90
+ add_test (NAME ${SECP256K1_TESTNAME_PREFIX} noverify_tests COMMAND noverify_tests )
91
91
if (NOT CMAKE_BUILD_TYPE STREQUAL "Coverage" )
92
92
add_executable (tests tests.c )
93
93
target_compile_definitions (tests PRIVATE VERIFY )
94
94
target_link_libraries (tests secp256k1_precomputed secp256k1_asm )
95
- add_test (NAME tests COMMAND tests )
95
+ add_test (NAME ${SECP256K1_TESTNAME_PREFIX} tests COMMAND tests )
96
96
endif ()
97
97
endif ()
98
98
@@ -101,7 +101,7 @@ if(SECP256K1_BUILD_EXHAUSTIVE_TESTS)
101
101
add_executable (exhaustive_tests tests_exhaustive.c )
102
102
target_link_libraries (exhaustive_tests secp256k1_asm )
103
103
target_compile_definitions (exhaustive_tests PRIVATE $< $< NOT:$< CONFIG:Coverage> > :VERIFY> )
104
- add_test (NAME exhaustive_tests COMMAND exhaustive_tests )
104
+ add_test (NAME ${SECP256K1_TESTNAME_PREFIX} exhaustive_tests COMMAND exhaustive_tests )
105
105
endif ()
106
106
107
107
if (SECP256K1_BUILD_CTIME_TESTS )
You can’t perform that action at this time.
0 commit comments