Description
What kind of issue is this?
-
Question.
This issue tracker is not the place for questions. If you want to ask how to do something,
or to understand why something isn't working the way you expect it to,
use Community Forums or Premium Support -
PlatformIO IDE.
All issues related to PlatformIO IDE should be reported to the
PlatformIO IDE for VSCode repository -
Development Platform or Board.
All issues (building, uploading, adding new boards, etc.) related to PlatformIO development platforms
should be reported to appropriate repository related to your hardware
https://github.com/topics/platformio-platform -
Feature Request.
Start by telling us what problem you’re trying to solve. Often a solution
already exists! Don’t send pull requests to implement new features without first getting our
support. Sometimes we leave features out on purpose to keep the project small. -
[ x ] 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:
Windows 11
PlatformIO Version (platformio --version
):
PlatformIO Core, version 6.1.13
Description of problem
In the results of the test, different file names are displayed.
Steps to Reproduce
1.Write the following code in test_main.cpp
void setup() {
// NOTE!!! Wait for >2 secs
// if board doesn't support software reset via Serial.DTR/RTS
delay( 2000 );
UNITY_BEGIN();
RUN_TEST( test_sandbox );
RUN_TEST( test_tm );
RUN_TEST( test_dm );
RUN_TEST( test_calc_utils );
UNITY_END();
}
test_sandbox and other functions are in separate files, such as test_sandbox.cpp.
2.pio test
Actual Results
Building & Uploading...
Testing...
If you don't see any output for the first 10 secs, please reset board (press reset button)
test\test_main.cpp:24: test_sandbox [PASSED]
test\test_main.cpp:25: test_tm [PASSED]
test\test_main.cpp:26: test_dm [PASSED]
test\test_main.cpp:77: test_fast_exp [PASSED]
test\test_main.cpp:78: test_calc_custom_sigmoid [PASSED]
test\test_main.cpp:79: test_calc_custom_sigmoid_k_min [PASSED]
test\test_main.cpp:80: test_calc_angle [PASSED]
test\test_main.cpp:80: test_calc_angle [PASSED]
Expected Results
Building & Uploading...
Testing...
If you don't see any output for the first 10 secs, please reset board (press reset button)
test\test_sandbox.cpp:24: test_sandbox [PASSED]
test\test_time_measure.cpp:25: test_tm [PASSED]
:
:
: