~jamesodhunt/ubuntu/trusty/upstart/SRU-bugs-901038+1338637

1182.105.2 by James Hunt
* Makefile.am: Added 'test'.
1
## Process this file with automake to produce Makefile.in
2
3
INITCTL_BINARY = $(abs_top_builddir)/util/initctl
4
UPSTART_BINARY = $(abs_top_builddir)/init/init
5
6
AM_CFLAGS = \
7
	$(NIH_CFLAGS) \
8
	$(NIH_DBUS_CFLAGS) \
9
	$(DBUS_CFLAGS)
10
11
AM_CPPFLAGS = \
12
	-DLOCALEDIR="\"$(localedir)\"" \
13
	-DSBINDIR="\"$(sbindir)\"" \
14
	-DUPSTART_BINARY="\"$(UPSTART_BINARY)\"" \
15
	-DINITCTL_BINARY="\"$(INITCTL_BINARY)\"" \
16
	-I$(top_builddir) -I$(top_srcdir) -iquote$(builddir) -iquote$(srcdir) \
17
	-I$(top_srcdir)/intl
18
1182.105.4 by James Hunt
* test/test_util.[ch]: Renamed to test_util_common.[ch] and updated all
19
check_LIBRARIES = libtest_util_common.a
1182.151.1 by James Hunt
* test/tests/test_util_check_env.c: New test to look for
20
libtest_util_common_a_SOURCES = \
21
	test_util_common.c \
22
	test_util_common.h
23
1182.135.32 by Dmitrijs Ledkovs
Introduce TAP output, mark failing tests as TODO, unset environment
24
if ENABLE_TAP_OUTPUT
25
LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/tap-driver.sh
1182.135.33 by Dmitrijs Ledkovs
Unbreak running with non-tap test driver.
26
else
27
LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
1182.135.32 by Dmitrijs Ledkovs
Introduce TAP output, mark failing tests as TODO, unset environment
28
endif
29
1182.151.1 by James Hunt
* test/tests/test_util_check_env.c: New test to look for
30
TESTS = test_util_check_env
31
check_PROGRAMS = $(TESTS)
32
33
.PHONY: tests
34
tests: $(check_PROGRAMS)
35
36
test_util_check_env_SOURCES = tests/test_util_check_env.c
37
test_util_check_env_LDADD = \
38
	libtest_util_common.a \
39
	$(NIH_LIBS)