diff --git a/HISTORY.rst b/HISTORY.rst index 448f2db6..a46cb461 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,8 @@ Release Notes ============= +.. |PIOCONF| replace:: `"platformio.ini" `__ configuration file + .. _release_notes_6: PlatformIO Core 6 @@ -38,11 +40,12 @@ Please check `Migration guide from 5.x to 6.0 `__ command (`issue #4188 `_) - Dropped automatic updates of global libraries and development platforms (`issue #4179 `_) - Dropped support for the "pythonPackages" field in "platform.json" manifest in favor of `Extra Python Dependencies `__ - - Fixed an issue when manually removed dependencies from the `"platformio.ini" `__ configuration file were not uninstalled from the storage (`issue #3076 `_) + - Fixed an issue when manually removed dependencies from the |PIOCONF| were not uninstalled from the storage (`issue #3076 `_) * **Unit Testing** - Provide more information when the native program crashed on a host (errored with a negative return code) (`issue #3429 `_) + - Fixed an issue when command line parameters ("--ignore", "--filter") do not override values defined in the |PIOCONF| (`issue #3845 `_) * **Static Code Analysis** @@ -64,7 +67,7 @@ Please check `Migration guide from 5.x to 6.0 `__ with ``${this}`` pattern (`issue #3953 `_) - - Embed environment name of the current section in the `"platformio.ini" `__ configuration file using ``${this.__env__}`` pattern + - Embed environment name of the current section in the |PIOCONF| using ``${this.__env__}`` pattern * **Miscellaneous** diff --git a/platformio/unittest/command.py b/platformio/unittest/command.py index 36efad76..0a21b9df 100644 --- a/platformio/unittest/command.py +++ b/platformio/unittest/command.py @@ -116,6 +116,8 @@ def unittest_cmd( # pylint: disable=too-many-arguments,too-many-locals,redefine # filter and ignore patterns patterns = dict(filter=list(filter), ignore=list(ignore)) for key in patterns: + if patterns[key]: # overriden from CLI + continue patterns[key].extend( config.get(f"env:{env_name}", f"test_{key}", []) )