testgobject.c and timeloop-closure.c are the only two tests in the
toplevel tests/ directory that depend on gobject, so move them to
tests/gobject/ along with the other gobject tests.
Both of these were in noinst_PROGRAMS and not TESTS, so keep them that
way when we move them.
endif
if ENABLE_TIMELOOP
-timeloop = timeloop timeloop-closure
+timeloop = timeloop
endif
noinst_PROGRAMS = $(TEST_PROGS) \
testgdate \
unicode-collate \
$(timeloop) \
assert-msg-test \
- datetime \
- testgobject
+ datetime
TEST_PROGS += testglib
testglib_SOURCES = testglib.c
assert_msg_test_LDADD = $(libglib)
if ENABLE_TIMELOOP
timeloop_LDADD = $(libglib)
-timeloop_closure_LDADD = $(libglib) $(libgobject)
endif
datetime_LDADD = $(libglib)
-testgobject_LDADD = $(libglib) $(libgobject)
test_programs = \
atomic-test \
performance_LDADD = $(libgobject) $(libgthread)
performance_threaded_LDADD = $(libgobject) $(libgthread)
check_PROGRAMS = $(test_programs)
-noinst_PROGRAMS = $(performance_programs)
+noinst_PROGRAMS = $(performance_programs) testgobject
+
+if ENABLE_TIMELOOP
+noinst_PROGRAMS += timeloop-closure
+endif
TESTS = $(test_programs) $(performance_programs)
TESTS_ENVIRONMENT = srcdir=$(srcdir) \