forked from platformio/platformio-core
Follow symbolic links during searching for the unit test suites // Resolve #4288
This commit is contained in:
1 parent
460a983ab2
commit
73dd29c59c
2 files changed
+2
-1
No files matched your search
@@ -24,7 +24,7 @@ def list_test_names(project_config):
|
||||
if not os.path.isdir(test_dir):
|
||||
raise TestDirNotExistsError(test_dir)
|
||||
names = []
|
||||
for root, _, __ in os.walk(test_dir):
|
||||
for root, _, __ in os.walk(test_dir, followlinks=True):
|
||||
if not os.path.basename(root).startswith("test_"):
|
||||
continue
|
||||
names.append(os.path.relpath(root, test_dir).replace("\\", "/"))
|
||||
|
||||
Reference in new issue
Block a user