From 5e928c9ce0cbeaa1a1050a7c0e8f10fb7027514c Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 20 Oct 2009 23:47:20 -0500 Subject: Now we're building a test, woot! --- tests/Makefile.am | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'tests/Makefile.am') diff --git a/tests/Makefile.am b/tests/Makefile.am index 82ec364..4044617 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,3 +1,26 @@ -# Something here +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) -- cgit v1.2.3