-
Notifications
You must be signed in to change notification settings - Fork 47
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
xml reporter broken if test failed with segmentation fault #193
Labels
Comments
ptzafrir
added a commit
to ptzafrir/cgreen
that referenced
this issue
Jun 28, 2019
…mentation fault Change logic for reporting incomplete tests to align with reporting passing or failing tests. That is store report in temp output file and dump it to results in xml_report_finish_test when calling transfer_output_from method. This way the test time is reported in the correct place on the testcase tag
ptzafrir
added a commit
to ptzafrir/cgreen
that referenced
this issue
Jun 28, 2019
…mentation fault Change logic for reporting incomplete tests to align with reporting passing or failing tests. That is store report in temp output file and dump it to results in xml_report_finish_test when calling transfer_output_from method. This way the test time is reported in the correct place on the testcase tag
thoni56
added a commit
that referenced
this issue
Jun 28, 2019
Fix Issue #193 xml reporter broken if test failed with segfault
Thanks for the report and the fix! |
ptzafrir
added a commit
to ptzafrir/cgreen
that referenced
this issue
Jun 28, 2019
…mentation fault Change logic for reporting incomplete tests to align with reporting passing or failing tests. That is store report in temp output file and dump it to results in xml_report_finish_test when calling transfer_output_from method. This way the test time is reported in the correct place on the testcase tag
thoni56
pushed a commit
that referenced
this issue
Jul 25, 2019
fault Change logic for reporting incomplete tests to align with reporting passing or failing tests. That is store report in temp output file and dump it to results in xml_report_finish_test when calling transfer_output_from method. This way the test time is reported in the correct place on the testcase tag
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the following test
compiled with
gcc segfault.c -shared -fPIC -lcgreen -o segfault.so && cgreen-runner --xml prefix segfault.so
Produce the following broken xml report
The text was updated successfully, but these errors were encountered: