summaryrefslogtreecommitdiffstats
path: root/tests/libdimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-10-13 03:38:50 +0000
committerTavian Barnes <tavianator@gmail.com>2009-10-13 03:38:50 +0000
commit3410dc3401172361fbfdeeb7f65dbfc4430544b9 (patch)
tree83d12e5cf76b4d5ab5b7baf32d95d78ba7518cef /tests/libdimension
parente5acbd763b4d06858c54e2461482643fcd268442 (diff)
downloaddimension-3410dc3401172361fbfdeeb7f65dbfc4430544b9.tar.xz
Use convenience library for tests.
Diffstat (limited to 'tests/libdimension')
-rw-r--r--tests/libdimension/Makefile.am14
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/libdimension/Makefile.am b/tests/libdimension/Makefile.am
index f01fb1f..b0f4476 100644
--- a/tests/libdimension/Makefile.am
+++ b/tests/libdimension/Makefile.am
@@ -19,6 +19,7 @@
INCLUDES = -I$(top_srcdir)/libdimension
+check_LTLIBRARIES = libdimension-tests.la
check_PROGRAMS = error-test \
warning-test \
kD_splay_tree-test \
@@ -26,14 +27,17 @@ check_PROGRAMS = error-test \
TESTS = $(check_PROGRAMS)
XFAIL_TESTS = error-test
+libdimension_tests_la_SOURCES = tests.c tests.h
+libdimension_tests_la_LIBADD = $(top_srcdir)/libdimension/libdimension.la
+
error_test_SOURCES = error.c
-error_test_LDADD = $(top_srcdir)/libdimension/libdimension.la
+error_test_LDADD = libdimension-tests.la
warning_test_SOURCES = warning.c
-warning_test_LDADD = $(top_srcdir)/libdimension/libdimension.la
+warning_test_LDADD = libdimension-tests.la
kD_splay_tree_test_SOURCES = kD_splay_tree.c
-kD_splay_tree_test_LDADD = $(top_srcdir)/libdimension/libdimension.la
+kD_splay_tree_test_LDADD = libdimension-tests.la
-png_test_SOURCES = png.c tests.c tests.h
-png_test_LDADD = $(top_srcdir)/libdimension/libdimension.la
+png_test_SOURCES = png.c
+png_test_LDADD = libdimension-tests.la