diff options
author | Maxim Pimenov <m@maps.me> | 2017-03-10 18:03:21 +0300 |
---|---|---|
committer | Maxim Pimenov <m@maps.me> | 2017-03-10 18:03:21 +0300 |
commit | cbc982c84efaa99095683ccf883d71e5ae0f6f3e (patch) | |
tree | 9f069f5d5081a7a9988b04b2a6810e36df9c4b13 | |
parent | 3a88ce58fd5073f7f9e86ab401731f0d0bca46b6 (diff) |
[testing] Relaxed the filters in regular expressions.
-rw-r--r-- | testing/testingmain.cpp | 4 |
1 files 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; } |