-
Notifications
You must be signed in to change notification settings - Fork 7.6k
twister: Report Kconfig symbols in twister.json #73370
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
base: main
Are you sure you want to change the base?
twister: Report Kconfig symbols in twister.json #73370
Conversation
New Twister command line argument `--report-kconfig-symbols` extends `twister.json` report with Kconfig symbols which were used to build the test suites selected. Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
an example snippet from twister.log with
|
would this be more flexible to add to a separated file to each test link handler.txt, we can add a build_configs.json? |
@hakehuang, 'handler.log' is not in context of this PR, or I misunderstood your point.
|
dear reviewers, up to your attention: any comments, objections ? |
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what next? cmake cache? list of compiled filed? All of those small optional additions to address one single usecase is what makes twister very difficult to manage. We have many options already and many unused features that were added at some point because "we can" but getting no attention and no use and make twister almost impossible to maintain.
well, at least for these 3 use cases:
|
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
New Twister command line argument
--report-kconfig-symbols
extendstwister.json
report with Kconfig symbols which were used to build the test suites selected.The Kconfig additional test's context allows to track code changes in tests (like HWMv2 migration side effects), helps in regressions' triage and coverage analysis.