glib r6935 - in trunk/gio: . tests
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6935 - in trunk/gio: . tests
- Date: Mon, 26 May 2008 05:57:09 +0000 (UTC)
Author: matthiasc
Date: Mon May 26 05:57:09 2008
New Revision: 6935
URL: http://svn.gnome.org/viewvc/glib?rev=6935&view=rev
Log:
Make tests work
Modified:
trunk/gio/ChangeLog
trunk/gio/tests/Makefile.am
trunk/gio/tests/data-input-stream.c
trunk/gio/tests/data-output-stream.c
trunk/gio/tests/g-file-info.c
trunk/gio/tests/g-file.c
trunk/gio/tests/live-g-file.c
trunk/gio/tests/memory-input-stream.c
Modified: trunk/gio/tests/Makefile.am
==============================================================================
--- trunk/gio/tests/Makefile.am (original)
+++ trunk/gio/tests/Makefile.am Mon May 26 05:57:09 2008
@@ -12,6 +12,7 @@
noinst_PROGRAMS = $(TEST_PROGS)
progs_ldadd = \
$(top_builddir)/glib/libglib-2.0.la \
+ $(top_builddir)/gthread/libgthread-2.0.la \
$(top_builddir)/gobject/libgobject-2.0.la \
$(top_builddir)/gio/libgio-2.0.la
Modified: trunk/gio/tests/data-input-stream.c
==============================================================================
--- trunk/gio/tests/data-input-stream.c (original)
+++ trunk/gio/tests/data-input-stream.c Mon May 26 05:57:09 2008
@@ -318,6 +318,7 @@
char *argv[])
{
g_type_init ();
+ g_thread_init (0);
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/data-input-stream/read-lines-LF", test_read_lines_LF);
Modified: trunk/gio/tests/data-output-stream.c
==============================================================================
--- trunk/gio/tests/data-output-stream.c (original)
+++ trunk/gio/tests/data-output-stream.c Mon May 26 05:57:09 2008
@@ -282,6 +282,7 @@
char *argv[])
{
g_type_init ();
+ g_thread_init (0);
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/data-input-stream/read-lines-LF", test_read_lines_LF);
Modified: trunk/gio/tests/g-file-info.c
==============================================================================
--- trunk/gio/tests/g-file-info.c (original)
+++ trunk/gio/tests/g-file-info.c Mon May 26 05:57:09 2008
@@ -117,6 +117,7 @@
char *argv[])
{
g_type_init ();
+ g_thread_init (0);
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/g-file-info/test_g_file_info", test_g_file_info);
Modified: trunk/gio/tests/g-file.c
==============================================================================
--- trunk/gio/tests/g-file.c (original)
+++ trunk/gio/tests/g-file.c Mon May 26 05:57:09 2008
@@ -507,6 +507,7 @@
char *argv[])
{
g_type_init ();
+ g_thread_init (0);
g_test_init (&argc, &argv, NULL);
Modified: trunk/gio/tests/live-g-file.c
==============================================================================
--- trunk/gio/tests/live-g-file.c (original)
+++ trunk/gio/tests/live-g-file.c Mon May 26 05:57:09 2008
@@ -1107,6 +1107,7 @@
/* strip all gtester-specific args */
g_type_init ();
+ g_thread_init (0);
g_test_init (&argc, &argv, NULL);
/* no extra parameters specified, assume we're executed from glib test suite */
Modified: trunk/gio/tests/memory-input-stream.c
==============================================================================
--- trunk/gio/tests/memory-input-stream.c (original)
+++ trunk/gio/tests/memory-input-stream.c Mon May 26 05:57:09 2008
@@ -70,6 +70,7 @@
char *argv[])
{
g_type_init ();
+ g_thread_init (0);
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/memory-input-stream/read-chunks", test_read_chunks);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]