gtester: fix test result in gtester XML report

This was accidentally broken with the changes done for
https://bugzilla.gnome.org/show_bug.cgi?id=790934
This commit is contained in:
Sven Neumann 2018-04-13 12:05:32 +02:00 committed by Philip Withnall
parent 6fbade04ab
commit ac0999a1cf

View File

@ -109,7 +109,7 @@ testcase_close (long double duration,
success = exit_status == G_TEST_RUN_SUCCESS || exit_status == G_TEST_RUN_SKIPPED;
test_log_printfe ("%s<status exit-status=\"%d\" n-forks=\"%d\" result=\"%s\"/>\n",
sindent (log_indent), exit_status, n_forks,
success ? "failed" : "success");
success ? "success" : "failed");
log_indent -= 2;
test_log_printfe ("%s</testcase>\n", sindent (log_indent));
testcase_open--;