From cbc982c84efaa99095683ccf883d71e5ae0f6f3e Mon Sep 17 00:00:00 2001 From: Maxim Pimenov Date: Fri, 10 Mar 2017 18:03:21 +0300 Subject: [PATCH] [testing] Relaxed the filters in regular expressions. --- testing/testingmain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/testingmain.cpp b/testing/testingmain.cpp index a8d484b6f9..b7aba26f24 100644 --- a/testing/testingmain.cpp +++ b/testing/testingmain.cpp @@ -201,12 +201,12 @@ int main(int argc, char * argv[]) { auto const & testName = testNames[iTest]; if (g_testingOptions.m_filterRegExp && - !regex_match(testName.begin(), testName.end(), filterRegExp)) + !regex_search(testName.begin(), testName.end(), filterRegExp)) { continue; } if (g_testingOptions.m_suppressRegExp && - regex_match(testName.begin(), testName.end(), suppressRegExp)) + regex_search(testName.begin(), testName.end(), suppressRegExp)) { continue; }