[glib: 1/2] gtester: fix test result in gtester XML report
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] gtester: fix test result in gtester XML report
- Date: Mon, 28 May 2018 13:12:15 +0000 (UTC)
commit ac0999a1cff568aba8dcafc562c381d1e56816e9
Author: Sven Neumann <neumann teufel de>
Date: Fri Apr 13 12:05:32 2018 +0200
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
glib/gtester.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gtester.c b/glib/gtester.c
index a799394a7..41bf877ff 100644
--- a/glib/gtester.c
+++ b/glib/gtester.c
@@ -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--;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]