aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bzrignore1
-rw-r--r--tests/Makefile.am19
-rw-r--r--tests/test-simple-app.c8
3 files changed, 27 insertions, 1 deletions
diff --git a/.bzrignore b/.bzrignore
index 4d5f1b0..b582d67 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -31,3 +31,4 @@ src/custom-service-marshal.h
src/stamp-marshal
src/dbus-properties-client.h
src/dbus-properties-server.h
+tests/test-simple-app
diff --git a/tests/Makefile.am b/tests/Makefile.am
index f6a0525..39cd3a6 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -2,7 +2,8 @@
check_PROGRAMS = \
test-libcustomindicator \
test-libcustomindicator-dbus-client \
- test-libcustomindicator-dbus-server
+ test-libcustomindicator-dbus-server \
+ test-simple-app
TESTS =
DISTCLEANFILES = $(TESTS)
@@ -82,3 +83,19 @@ test-libcustomindicator-dbus: test-libcustomindicator-dbus-client test-libcustom
TESTS += test-libcustomindicator-dbus
+#########################################
+## test-simple-app
+#########################################
+
+test_simple_app_SOURCES = \
+ test-simple-app.c
+
+test_simple_app_CFLAGS = \
+ $(INDICATOR_CFLAGS) \
+ -Wall -Werror \
+ -I$(top_srcdir)/src
+
+test_simple_app_LDADD = \
+ $(INDICATOR_LIBS) \
+ $(top_builddir)/src/libcustomindicator.la
+
diff --git a/tests/test-simple-app.c b/tests/test-simple-app.c
new file mode 100644
index 0000000..9c2d164
--- /dev/null
+++ b/tests/test-simple-app.c
@@ -0,0 +1,8 @@
+
+int
+main (int argc, char ** argv)
+{
+
+
+ return 0;
+}