aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile.am
blob: 1c39f8cf690d5edac1fa7c43252bd26d22204f98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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