-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update summarise-ct-results #5
Update summarise-ct-results #5
Conversation
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.
It looks good in general. I added some comments. I am not completely sure how it fits into MIM - does it require any change in the MIM repo?
test/hook_SUITE.erl
Outdated
"No test groups were executed successfully", | ||
"Failing the test due to failed rerun groups", | ||
"Failing the test due to failed test cases", | ||
"CODE=53"] = summarise_results(), |
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.
Why is the code 53 even though CT results above show lower numbers?
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.
Oh, it is erlang:halt(100405)
, but error code overflows.
1> erlang:halt(100405).
exits
echo $?
53
test/hook_SUITE.erl
Outdated
" 0 tests eventually passed", | ||
" 0 tests with end_per_testcase failed", | ||
" 6 tests passed", | ||
" 3 tests failed"," 0 tests skipped by user", |
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.
Add line break
test/hook_SUITE.erl
Outdated
" 3 tests eventually passed", | ||
" 0 tests with end_per_testcase failed", | ||
" 9 tests passed", | ||
" 3 tests failed"," 0 tests skipped by user", |
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.
Add line break
MIM repo would have to execute |
d694eb1
to
8e39acd
Compare
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.
Looks good. I am not a fan of such reformatting of a whole repo, but since the history is lost anyway, we can do it.
After analyzing history, it looks like the script also belongs to the repo and could be tested with tests.