[at-spi2-core: 1/2] dbtest: print to stdout instead of stderr
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core: 1/2] dbtest: print to stdout instead of stderr
- Date: Mon, 3 Aug 2020 01:08:58 +0000 (UTC)
commit cf02c77a3090ba90122348bbc0142563589e4527
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date: Sun Aug 2 19:26:24 2020 +0200
dbtest: print to stdout instead of stderr
Printing to stderr makes testsuite analysis think there were some
errors.
dbind/dbtest.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/dbind/dbtest.c b/dbind/dbtest.c
index 4f585409..b338c036 100644
--- a/dbind/dbtest.c
+++ b/dbind/dbtest.c
@@ -86,7 +86,7 @@ void test_simple ()
dbind_any_free ("i", &v2); /* nop */
dbus_message_unref (msg);
- fprintf (stderr, "simple ok\n");
+ printf ("simple ok\n");
}
void test_array ()
@@ -117,7 +117,7 @@ void test_array ()
dbind_any_free ("ai", &a2);
dbus_message_unref (msg);
- fprintf (stderr, "array ok\n");
+ printf ("array ok\n");
}
/* this taught me that the struct type is a mis-nomer,
@@ -146,7 +146,7 @@ void test_struct_native ()
}
dbus_message_iter_close_container (&iter, &arr);
- fprintf (stderr, "native struct marshalling ok\n");
+ printf ("native struct marshalling ok\n");
dbus_message_unref (msg);
}
@@ -185,7 +185,7 @@ void test_struct_simple ()
g_assert (!strcmp (g_array_index (a2, FooBaa, 1).baa, "baA"));
g_assert (!strcmp (g_array_index (a2, FooBaa, 1).baz, "BaZ"));
- fprintf (stderr, "simple struct ok\n");
+ printf ("simple struct ok\n");
dbind_any_free ("a(sss)", &a2);
dbus_message_unref (msg);
@@ -248,7 +248,7 @@ void test_struct_complex ()
g_assert (c2.pad2 == 1);
g_assert (!strcmp (c1.name, "stroustrup"));
- fprintf (stderr, "complex struct ok\n");
+ printf ("complex struct ok\n");
dbind_any_free (TYPEOF_COMPLEX, &c2);
dbus_message_unref (msg);
@@ -296,7 +296,7 @@ void test_struct_with_array ()
g_assert (p[0].pad1 == 2);
g_assert (g_array_index (p[1].vals, dbus_uint32_t, 1) == 1000000000);
- fprintf (stderr, "struct with array ok\n");
+ printf ("struct with array ok\n");
dbind_any_free (TYPEOF_ARRAYSTRUCT, &a2);
dbus_message_unref (msg);
@@ -342,7 +342,7 @@ void test_twovals ()
dbind_any_free ("ii", &o); /* nop */
dbus_message_unref (msg);
- fprintf (stderr, "two-val ok\n");
+ printf ("two-val ok\n");
}
void test_marshalling ()
@@ -355,7 +355,7 @@ void test_marshalling ()
test_struct_with_array ();
test_twovals ();
- fprintf (stderr, "Marshalling ok\n");
+ printf ("Marshalling ok\n");
}
void test_teamspaces (DBusConnection *bus)
@@ -403,7 +403,7 @@ void test_helpers ()
dbind_find_c_alignment ("a(sss)");
dbind_find_c_alignment ("(s(s)yd(d)s)");
dbind_find_c_alignment ("a{ss}");
- fprintf (stderr, "helpers passed\n");
+ printf ("helpers passed\n");
}
int main (int argc, char **argv)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]