From 0bba598c615cf499a1fb05f7f7bcd971ed7db188 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 20 Mar 2023 18:56:39 -0600 Subject: [PATCH] Temporary fix for unreleased dev-platforms with broken env name --- HISTORY.rst | 2 +- tests/test_examples.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 492fd204..fd761354 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -23,7 +23,7 @@ PlatformIO Core 6 * Added validation for `project working environment names `__ to ensure that they only contain lowercase letters ``a-z``, numbers ``0-9``, and special characters ``_`` (underscore) and ``-`` (hyphen) * Implemented a fix for shell injection vulnerabilities when converting INO files to CPP, ensuring your code is safe and secure (`issue #4532 `_) * Restored the project generator for the `NetBeans IDE `__, providing you with more flexibility and options for your development workflow -* Fixed an issue when "build_cache_dir" was not honored across different environments (`issue #4574 `_) +* Resolved an issue where the `build_cache_dir `__ setting was not being recognized consistently across multiple environments (`issue #4574 `_) 6.1.6 (2023-01-23) ~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_examples.py b/tests/test_examples.py index 27164fd7..c50285a5 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -69,6 +69,8 @@ def test_run(pioproject_dir): fs.rmtree(build_dir) env_names = config.envs() + # temporary fix for unreleased dev-platforms with broken env name + env_names = [name for name in env_names if " " not in name] result = proc.exec_command( ["platformio", "run", "-e", random.choice(env_names)] )