mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
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:
@@ -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 */
|
||||
}
|
||||
}
|
||||
|
@@ -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 */
|
||||
}
|
||||
}
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user