mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix test filter in regression test runner
This commit is contained in:
@@ -603,7 +603,8 @@ QFileInfoList RiaRegressionTestRunner::subDirectoriesForTestExecution(const QDir
|
||||
for (const auto& s : m_testFilter)
|
||||
{
|
||||
QString trimmed = s.trimmed();
|
||||
if (anyMatchFound || baseName.contains(trimmed, Qt::CaseInsensitive))
|
||||
if ((m_appendAllTestsAfterLastItemInFilter && anyMatchFound) ||
|
||||
baseName.contains(trimmed, Qt::CaseInsensitive))
|
||||
{
|
||||
foldersMatchingTestFilter.push_back(fi);
|
||||
anyMatchFound = true;
|
||||
|
||||
Reference in New Issue
Block a user