Fix dev:check os only tests (#11747)

This commit is contained in:
Tony Murray
2020-05-30 21:42:30 -05:00
committed by GitHub
parent d308af07c1
commit 0bf160eddf

View File

@@ -186,7 +186,7 @@ class CiHelper
$filter = implode('.*|', $this->os);
// include tests that don't have data providers and only data sets that match
array_push($phpunit_cmd, '--group', 'os');
array_push($phpunit_cmd, '--filter', "/::test[A-Za-z]+$|::test[A-Za-z]+ with data set \"$filter .*\"$/");
array_push($phpunit_cmd, '--filter', "/::test[A-Za-z]+$|::test[A-Za-z]+ with data set \"$filter.*\"$/");
} elseif ($this->flags['unit_docs']) {
array_push($phpunit_cmd, '--group', 'docs');
} elseif ($this->flags['unit_svg']) {