Merge branch 'test-verbose-output' into 'main'

tests: Remove various bits of overly-verbose test output

See merge request GNOME/glib!2704
This commit is contained in:
Simon McVittie
2022-06-01 17:31:53 +00:00
4 changed files with 2 additions and 64 deletions

View File

@@ -103,7 +103,6 @@ run_thread (GTest * test)
while (!g_atomic_int_get (&stopping)) {
my_test_do_refcount (test);
if ((i++ % 10000) == 0) {
g_test_message (".");
g_thread_yield (); /* force context switch */
}
}

View File

@@ -144,7 +144,6 @@ run_thread (GTest * test)
my_test_do_property (test);
if ((i++ % 10000) == 0)
{
g_test_message (".%c", 'a' + test->id);
g_thread_yield(); /* force context switch */
}
}

View File

@@ -236,7 +236,6 @@ run_thread (GTest * test)
if (TESTNUM == 4)
my_test_do_signal3 (test);
if ((i++ % 10000) == 0) {
g_test_message (".");
g_thread_yield (); /* force context switch */
}
}
@@ -250,7 +249,8 @@ notify (GObject *object, GParamSpec *spec, gpointer user_data)
gint value;
g_object_get (object, "test-prop", &value, NULL);
g_test_message ("+ %d", value);
if (TESTNUM != 3)
g_assert_cmpint (value, ==, 0);
}
static void