From 54a5f37f120be3577eab4a2b806c4ff14ea33ea3 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 3 Aug 2018 14:33:52 +0100 Subject: [PATCH] g_test_run: Document g_test_incomplete's similarity to g_test_skip Signed-off-by: Simon McVittie --- glib/gtestutils.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/glib/gtestutils.c b/glib/gtestutils.c index 686a4cad3..5290572be 100644 --- a/glib/gtestutils.c +++ b/glib/gtestutils.c @@ -1733,11 +1733,13 @@ g_test_get_root (void) * particular code runs before or after a given test case, use * g_test_add(), which lets you specify setup and teardown functions. * - * If all tests are skipped, this function will return 0 if - * producing TAP output, or 77 (treated as "skip test" by Automake) otherwise. + * If all tests are skipped or marked as incomplete (expected failures), + * this function will return 0 if producing TAP output, or 77 (treated + * as "skip test" by Automake) otherwise. * * Returns: 0 on success, 1 on failure (assuming it returns at all), - * 0 or 77 if all tests were skipped with g_test_skip() + * 0 or 77 if all tests were skipped with g_test_skip() and/or + * g_test_incomplete() * * Since: 2.16 */