cmake, test: Add secp256k1_ prefix to test names

This change improves regex matching options when using `ctest` in
downstream projects.
This commit is contained in:
Hennadii Stepanov
2024-08-12 12:07:45 +01:00
parent e59158b6eb
commit 87384f5c0f
2 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ function(add_example name)
$<$<PLATFORM_ID:Windows>:bcrypt>
)
set(test_name ${name}_example)
add_test(NAME ${test_name} COMMAND ${target_name})
add_test(NAME secp256k1_${test_name} COMMAND ${target_name})
endfunction()
add_example(ecdsa)