+include $(top_srcdir)/Makefile.decl
+
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/glib \
libgmodule = $(top_builddir)/gmodule/libgmodule-2.0.la
libgobject = $(top_builddir)/gobject/libgobject-2.0.la
+
+# libtool dependency tracking seems broken. this is currently
+# required to get the tests to dynamic link against the in-tree
+# libglib instead of the system one
+libgobject += $(libglib)
+
########################################################################
noinst_LTLIBRARIES = libtestgobject.la
########################################################################
-LDADD = $(libgobject) libtestgobject.la
+LDADD = libtestgobject.la $(libgobject)
test_programs = \
+ deftype \
+ gvalue-test \
+ paramspec-test \
accumulator \
defaultiface \
+ dynamictype \
ifacecheck \
ifaceinit \
ifaceinherit \
ifaceproperties \
- override
-
+ override \
+ performance \
+ performance-threaded \
+ singleton \
+ references
+
+performance_LDADD = $(libgobject) $(libgthread)
+performance_threaded_LDADD = $(libgobject) $(libgthread)
check_PROGRAMS = $(test_programs)
TESTS = $(test_programs)
TESTS_ENVIRONMENT = srcdir=$(srcdir) \
- LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset
+ LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset \
+ MALLOC_CHECK_=2 \
+ MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256))
########################################################################
-EXTRA_DIST = \
+EXTRA_DIST += \
testmarshal.list
BUILT_EXTRA_DIST = \