Skip to content

Commit 2adabe6

Browse files
TimothyGuMylesBorins
authored andcommitted
test: fix single test runner regression
When ESM support was added it created a regression in the test runner that broke the ability to run individual tests. This commit re-introduces the use of `NormalizePath` which fixes the regression in the test runner Refs: #15300 PR-URL: #15329 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 0343ece commit 2adabe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ def Contains(self, path, file):
789789
if len(path) > len(file):
790790
return False
791791
for i in xrange(len(path)):
792-
if not path[i].match(file[i]):
792+
if not path[i].match(NormalizePath(file[i])):
793793
return False
794794
return True
795795

0 commit comments

Comments
 (0)