aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 865573ba767550b3714c2de5b16a819be65d5fca (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 -k --verbose -o=$(XML_REPORT) ./test-libcustomindicator

check-local: libcustomindicator-tester

DISTCLEANFILES = $(XML_REPORT) $(HTML_REPORT)