You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a pio run, this does cause that version to be downloaded to tool-cppcheck@1.210.0 next to tool-cppcheck, however it is unused when a check command is executed, as in pio check --skip-packages.
Taskamanger without the addition above (should use latest tool-cppcheck, and it does)
Execute pio check --skip-packages, while switching to the task manager directly after that, to see in the process details which .exe is actually executed
Actual Results
Latest tool-cppcheck path is used, and not the 1.210.0 one, as stated in the platformio.ini.
Expected Results
Package change for tool-cppcheck stated in platformio.ini is respected.
What kind of issue is this?
If you’ve found a bug, please provide an information below.
Configuration
Operating system: Win x64
PlatformIO Version (
platformio --version):PlatformIO Core, version 5.0.5a1Description of problem
In regards to the same issue and linked reproduction project as posted in #3797, I've tried to make PIO use different versions of
tool-cppcheckin regards to the uploaded versions (https://bintray.com/platformio/tool-packages/tool-cppcheck-windows_amd64#files).Thus I e.g. added
platform_packages = tool-cppcheck@1.210.0in the
platformio.ini.After a
pio run, this does cause that version to be downloaded totool-cppcheck@1.210.0next totool-cppcheck, however it is unused when a check command is executed, as inpio check --skip-packages.Taskamanger without the addition above (should use latest tool-cppcheck, and it does)
With additions above
still uses newer version.
Steps to Reproduce
platformio.inias stated abovepio runoncepio check --skip-packages, while switching to the task manager directly after that, to see in the process details which.exeis actually executedActual Results
Latest
tool-cppcheckpath is used, and not the 1.210.0 one, as stated in theplatformio.ini.Expected Results
Package change for
tool-cppcheckstated inplatformio.iniis respected.If problems with PlatformIO Build System:
Files see as linked above
Additional info