aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bzrignore3
-rw-r--r--tests/Makefile.am25
-rw-r--r--tests/test-loader.c7
3 files changed, 34 insertions, 1 deletions
diff --git a/.bzrignore b/.bzrignore
index 0faee7c..a947a1a 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -106,3 +106,6 @@ src-sus/indicator-applet-no-sus
libindicator/libindicator.la
libindicator/libindicator_la-indicator-object.
libindicator/libindicator_la-indicator-object.lo
+tests/loader-check-results.xml
+tests/loader-check-results.html
+tests/test-loader
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)
+
diff --git a/tests/test-loader.c b/tests/test-loader.c
new file mode 100644
index 0000000..63590c7
--- /dev/null
+++ b/tests/test-loader.c
@@ -0,0 +1,7 @@
+
+int
+main (int argc, char ** argv)
+{
+
+ return 0;
+}