diff options
author | Brad King <brad.king@kitware.com> | 2023-03-03 17:58:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-03-03 17:58:30 (GMT) |
commit | df18138b5bc7d90cf46837bb11ba20ca5f53451e (patch) | |
tree | 8deccede9df175e85d594bd29ca860a560abc777 /Modules | |
parent | 3540e2ade649841239baafed1005632c313cb8fc (diff) | |
parent | 9aa9032266b0c4cd8219d637a97b527dc86e2f85 (diff) | |
download | CMake-df18138b5bc7d90cf46837bb11ba20ca5f53451e.zip CMake-df18138b5bc7d90cf46837bb11ba20ca5f53451e.tar.gz CMake-df18138b5bc7d90cf46837bb11ba20ca5f53451e.tar.bz2 |
Merge branch 'GoogleTest-type-param-suite' into release-3.25
Merge-request: !8282
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/GoogleTestAddTests.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GoogleTestAddTests.cmake b/Modules/GoogleTestAddTests.cmake index 2bd0cc9..de0f7d6 100644 --- a/Modules/GoogleTestAddTests.cmake +++ b/Modules/GoogleTestAddTests.cmake @@ -134,7 +134,7 @@ function(gtest_discover_tests_impl) # Module; remove trailing '.' to get just the name... string(REGEX REPLACE "\\.( *#.*)?$" "" suite "${line}") if(line MATCHES "#") - string(REGEX REPLACE "/.*" "" pretty_suite "${line}") + string(REGEX REPLACE "/[0-9].*" "" pretty_suite "${line}") if(NOT _NO_PRETTY_TYPES) string(REGEX REPLACE ".*/[0-9]+[ .#]+TypeParam = (.*)" "\\1" type_parameter "${line}") else() |