mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Make tests work
svn path=/trunk/; revision=6935
This commit is contained in:
parent
eb5889df59
commit
cdc2910103
@ -1,3 +1,7 @@
|
||||
2008-05-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* tests/*: Make tests work
|
||||
|
||||
2008-05-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gio.symbols: Add g_memory_output_stream_get_data_size.
|
||||
|
@ -12,6 +12,7 @@ INCLUDES = \
|
||||
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
|
||||
|
||||
|
@ -318,6 +318,7 @@ main (int argc,
|
||||
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);
|
||||
|
@ -282,6 +282,7 @@ main (int argc,
|
||||
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);
|
||||
|
@ -117,6 +117,7 @@ main (int argc,
|
||||
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);
|
||||
|
@ -507,6 +507,7 @@ main (int argc,
|
||||
char *argv[])
|
||||
{
|
||||
g_type_init ();
|
||||
g_thread_init (0);
|
||||
g_test_init (&argc, &argv, NULL);
|
||||
|
||||
|
||||
|
@ -1107,6 +1107,7 @@ main (int argc, char *argv[])
|
||||
|
||||
/* 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 */
|
||||
|
@ -70,6 +70,7 @@ main (int argc,
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user