mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 02:27:13 +02:00
Follow symbolic links during searching for the unit test suites // Resolve #4288
This commit is contained in:
@ -17,6 +17,7 @@ PlatformIO Core 6
|
|||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
* Control |UNITTESTING| verbosity with a new multilevel `pio test -v <https://docs.platformio.org/en/latest/core/userguide/cmd_test.html#cmdoption-pio-test-v>`__ command option (`issue #4276 <https://github.com/platformio/platformio-core/issues/4276>`_)
|
* Control |UNITTESTING| verbosity with a new multilevel `pio test -v <https://docs.platformio.org/en/latest/core/userguide/cmd_test.html#cmdoption-pio-test-v>`__ command option (`issue #4276 <https://github.com/platformio/platformio-core/issues/4276>`_)
|
||||||
|
* Follow symbolic links during searching for the unit test suites (`issue #4288 <https://github.com/platformio/platformio-core/issues/4288>`_)
|
||||||
* Fixed an issue when the `build_src_flags <https://docs.platformio.org/en/latest/projectconf/section_env_build.html#build-src-flags>`__ option was applied outside the project scope (`issue #4277 <https://github.com/platformio/platformio-core/issues/4277>`_)
|
* Fixed an issue when the `build_src_flags <https://docs.platformio.org/en/latest/projectconf/section_env_build.html#build-src-flags>`__ option was applied outside the project scope (`issue #4277 <https://github.com/platformio/platformio-core/issues/4277>`_)
|
||||||
* Fixed an issue with debugging assembly files without preprocessor (".s")
|
* Fixed an issue with debugging assembly files without preprocessor (".s")
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ def list_test_names(project_config):
|
|||||||
if not os.path.isdir(test_dir):
|
if not os.path.isdir(test_dir):
|
||||||
raise TestDirNotExistsError(test_dir)
|
raise TestDirNotExistsError(test_dir)
|
||||||
names = []
|
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_"):
|
if not os.path.basename(root).startswith("test_"):
|
||||||
continue
|
continue
|
||||||
names.append(os.path.relpath(root, test_dir).replace("\\", "/"))
|
names.append(os.path.relpath(root, test_dir).replace("\\", "/"))
|
||||||
|
Reference in New Issue
Block a user