Skip to content
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

[RFC] check: Add option for report generation #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

schlad
Copy link

@schlad schlad commented May 11, 2020

While the PR should work for -R text, it is just dummy, trivial example to ask for some ideas and see if there is something better we could do. And if we should even have the -R option in the first place.

So simply in the _check() I would call common/reports to create requested report for the given run, while specific single test results would be 'reported' in _call_test().
This way we would have very minimal changes to check script.

Any further logic for reports would be kept in common/reports; i.e. collecting total number of errors for xunit etc and then once I would propose xunit we would likely need one more call on check side, to know when the current run is done (so xunit report could get required tags at the end of the run).

I would appreciate some info if this would be acceptable or perhaps you would prefer to see something different?

As of now the tests results are generated over multiple files for each
test device and each test separetly. This patch is introducing new -R
option, following the idea from xfstests, so that general report could
be prepared
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant