HomePhabricator

run-tests: fix whitelist/blacklist with directories on Windows

Authored by mharbison72.

Description

run-tests: fix whitelist/blacklist with directories on Windows

The file name is resolved with os.path.relpath() in the Test constructor,
which yields \ on Windows. That doesn't match the / separator when using
MSYS tools to build the list, and it isn't obvious that this is the problem
because directory separators can mostly be used interchangeably. The
--test-list argument already seems to be properly handled.

Details

Committed
mharbison72May 5 2021, 5:47 PM
Parents
rHG6e0af81c43b2: run-tests: ignore PermissionError when checking available ports
Branches
Unknown
Tags
Unknown