-
Notifications
You must be signed in to change notification settings - Fork 1.5k
testrunner: added options -n (no summary) and -d (dry run) / added script to run test cases separately / adjusted some tests
#6049
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
My first attempt was to use a grep script to get all the names but because some test files contain multiple fixtures that does not work easily. So I went with any easier way and just get the file of all the tests from the application itself. We currently cannot add this into the CI since the start-up time of We can probably also integrate this into CTest but I did not look into it (will file a ticket about it though). But that also requires the run-time issue being resolved first. |
-n (no dummary) and -d (dry run) / added script to run test case separately-n (no summary) and -d (dry run) / added script to run test case separately
|
"no dummary" 😵💫 |
2889549 to
06a1340
Compare
-n (no summary) and -d (dry run) / added script to run test case separately-n (no summary) and -d (dry run) / added script to run test case separately / adjusted some tests
06a1340 to
ffbce1a
Compare
|
Done - but script still lacks the executable flag. |
ffbce1a to
ea10f3a
Compare
ea10f3a to
fd7a753
Compare
-n (no summary) and -d (dry run) / added script to run test case separately / adjusted some tests-n (no summary) and -d (dry run) / added script to run test cases separately / adjusted some tests
fd7a753 to
4cc8d84
Compare
… no test execution)
Parsing: S:\GitHub\cppcheck-fw\test\fixture.h as language CPP parse_cleanup(456): pc->orig_line is 281, orig_col is 123, text() is '}', type is BRACE_CLOSE parse_cleanup(462): (frm.top().type + 1) is ELSE
4cc8d84 to
d3d562e
Compare
|
Beside the dummary almost a whole week without any feedback - merging. |

This script runs each test case separately so we can uncover cases where it depends on left-over data on the previous one.
CTestis only running the fixtures separately so that does not.