diff --git a/testing/mozbase/moztest/moztest/resolve.py b/testing/mozbase/moztest/moztest/resolve.py index bc03cc3ff17d..34b67e9eaf94 100644 --- a/testing/mozbase/moztest/moztest/resolve.py +++ b/testing/mozbase/moztest/moztest/resolve.py @@ -417,6 +417,9 @@ class TestMetadata(object): candidate_paths |= set(self._tests_by_path.keys()) continue + if os.path.sep != "/": + path = path.replace("/", os.path.sep) + if '*' in path: candidate_paths |= {p for p in self._tests_by_path if mozpath.match(p, path)}