mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-17 23:59:58 +00:00
Fix string/regexp backslash escapes
Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
@@ -162,7 +162,7 @@ list(REMOVE_DUPLICATES test_suites)
|
||||
list(SORT test_suites)
|
||||
foreach(test_suite ${test_suites})
|
||||
get_filename_component(data_name ${test_suite} NAME)
|
||||
string(REGEX REPLACE "\.data$" "" data_name "${data_name}")
|
||||
string(REGEX REPLACE "\\.data\$" "" data_name "${data_name}")
|
||||
string(REPLACE "test_suite_" "" data_name "${data_name}")
|
||||
string(REGEX MATCH "[^.]*" function_name "${data_name}")
|
||||
add_test_suite(${function_name} ${data_name})
|
||||
|
||||
Reference in New Issue
Block a user