aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-17 00:27:43 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-17 00:27:43 +0000
commit103e5770f120d70b1580bfc3cab8219c6608bc21 (patch)
tree55d04f6fbf26db1698fb12264ac3b86c40455187 /test/Makefile.am
downloadpaludis-103e5770f120d70b1580bfc3cab8219c6608bc21.tar.gz
paludis-103e5770f120d70b1580bfc3cab8219c6608bc21.tar.xz
Initial import
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
new file mode 100644
index 000000000..1c39f8cf6
--- /dev/null
+++ b/test/Makefile.am
@@ -0,0 +1,25 @@
+CLEANFILES = *~
+MAINTAINERCLEANFILES = Makefile.in
+AM_CXXFLAGS = -I$(top_srcdir)
+EXTRA_DIST = run_test.sh
+
+libtest_a_SOURCES = \
+ test_framework.cc \
+ test_framework.hh \
+ test_runner.cc \
+ test_runner.hh
+
+XFAIL_TESTS = test_fail_TEST
+TESTS = test_pass_TEST $(XFAIL_TESTS)
+
+noinst_LIBRARIES = libtest.a
+noinst_PROGRAMS = $(TESTS) $(XFAIL_TESTS)
+
+TESTS_ENVIRONMENT = $(SHELL) $(top_srcdir)/test/run_test.sh
+
+test_pass_TEST_SOURCES = test_pass_TEST.cc
+test_pass_TEST_LDADD = $(top_builddir)/test/libtest.a
+
+test_fail_TEST_SOURCES = test_fail_TEST.cc
+test_fail_TEST_LDADD = $(top_builddir)/test/libtest.a
+