aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-08 12:29:12 -0400
committerTed Gould <ted@canonical.com>2009-10-08 12:29:12 -0400
commitc314d6040b93da70359e19a8b7475c94fc86fb1c (patch)
tree53036d99140ff9b56990002238e03baf8fd73900 /tests/Makefile.am
parentfa946df247f0e16de3a355dd5696f4671277348a (diff)
downloadlibayatana-indicator-c314d6040b93da70359e19a8b7475c94fc86fb1c.tar.gz
libayatana-indicator-c314d6040b93da70359e19a8b7475c94fc86fb1c.tar.bz2
libayatana-indicator-c314d6040b93da70359e19a8b7475c94fc86fb1c.zip
Adding in a simple little test.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am25
1 files changed, 24 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 8ac6544..a04855c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1 +1,24 @@
-#Something should go here
+
+noinst_PROGRAMS = \
+ test-loader
+
+test_loader_SOURCES = \
+ test-loader.c
+
+test_loader_CFLAGS = \
+ -Wall -Werror \
+ $(UPANEL_CFLAGS) -I$(top_srcdir)
+
+test_loader_LDADD = \
+ $(UPANEL_LIBS) $(top_builddir)/libindicator/.libs/libindicator.a
+
+XML_REPORT = loader-check-results.xml
+HTML_REPORT = loader-check-results.html
+
+loader-tester: test-loader
+ @gtester -o=$(XML_REPORT) ./test-loader
+
+check-local: loader-tester
+
+DISTCLEANFILES = $(XML_REPORT) $(HTML_REPORT)
+