[ 🟢 ] PlatformIO Core.
If you’ve found a bug, please provide an information below.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system: Multiple, have confirmed on MacOS and linux
PlatformIO Version (platformio --version): 6.0.2rc2
Description of problem
Since upgrading to a v6.x.x version, remote unit testing appears to only upload and test the last unit test if there are multiple present. Local unit testing works fine, however remote testing only performs a single compile and then uploads the same hex file to the remote multiple times (once per test) rather than performing a new compile between each upload
I have verified that this was working ok in v5.x, but not since moving to 6.0.2rc2 (I have not tried any of the other 6.x releases).
I suspect this maybe related to the hierarchical unit testing that was added in 6.0, but cannot verify this.
I have only included the first 2 upload cycles of this test, but it demonstrates the problem
Despite this claiming to perform the test_decoders and test_fuel tests, it is actually the test_schedules hex file that is uploaded both times (Note that the uploaded file size is the same both times)
At the beginning you can see all tests being built, but the remote upload only takes place after all of them have been built, meaning that it is only the last test that is run (over and over).
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system: Multiple, have confirmed on MacOS and linux
PlatformIO Version (
platformio --version
): 6.0.2rc2Description of problem
Since upgrading to a v6.x.x version, remote unit testing appears to only upload and test the last unit test if there are multiple present. Local unit testing works fine, however remote testing only performs a single compile and then uploads the same hex file to the remote multiple times (once per test) rather than performing a new compile between each upload
I have verified that this was working ok in v5.x, but not since moving to 6.0.2rc2 (I have not tried any of the other 6.x releases). I suspect this maybe related to the hierarchical unit testing that was added in 6.0, but cannot verify this.
Actual Results
Log of an attempt to perform a remote test:
Note:
test_decoders
andtest_fuel
tests, it is actually thetest_schedules
hex file that is uploaded both times (Note that the uploaded file size is the same both times)If problems with PlatformIO Build System:
The content of
platformio.ini
: