mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 08:28:43 +02:00
gobject/tests: New test for dynamic class creation/destruction
Starts 100 threads which ref/unref a dynamic class to test the recent changes to class init/uninit.
This commit is contained in:
committed by
Alexander Larsson
parent
35c376a8a6
commit
83ee0d947d
@@ -5,6 +5,8 @@ INCLUDES = -g -I$(top_srcdir) -I$(top_srcdir)/glib $(GLIB_DEBUG_FLAGS)
|
||||
noinst_PROGRAMS = $(TEST_PROGS)
|
||||
libgobject_LDADD = ../libgobject-2.0.la $(top_builddir)/gthread/libgthread-2.0.la $(top_builddir)/glib/libglib-2.0.la
|
||||
|
||||
TEST_PROGS += threadtests
|
||||
TEST_PROGS += threadtests dynamictests
|
||||
threadtests_SOURCES = threadtests.c
|
||||
threadtests_LDADD = $(libgobject_LDADD)
|
||||
dynamictests_SOURCES = dynamictests.c
|
||||
dynamictests_LDADD = $(libgobject_LDADD)
|
||||
|
Reference in New Issue
Block a user