aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 40446170102a55f5080d192f4403b3261b9d9022 (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
26

check_PROGRAMS = \
	test-libcustomindicator

test_libcustomindicator_SOURCES = \
	test-libcustomindicator.c

test_libcustomindicator_CFLAGS = \
	$(INDICATOR_CFLAGS) \
	-Wall -Werror \
	-I$(top_srcdir)/src

test_libcustomindicator_LDADD = \
	$(INDICATOR_LIBS) \
	$(top_builddir)/src/libcustomindicator.la

XML_REPORT   = libcustomindicator-check-results.xml
HTML_REPORT  = libcustomindicator-check-results.html

libcustomindicator-tester: test-libcustomindicator
	gtester -o=$(XML_REPORT) ./test-libcustomindicator

check-local: libcustomindicator-tester

DISTCLEANFILES = $(XML_REPORT) $(HTML_REPORT)