aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-09 00:14:54 -0600
committerTed Gould <ted@canonical.com>2009-11-09 00:14:54 -0600
commit23d6b5d0da79ac8afaff855f0eed4811615999f3 (patch)
tree574c2ff76a61f493481eb46e348c57668d76679d /tests
parentd0abddaaf72e621a495871e5805cd39a51891b2b (diff)
downloadlibayatana-appindicator-23d6b5d0da79ac8afaff855f0eed4811615999f3.tar.gz
libayatana-appindicator-23d6b5d0da79ac8afaff855f0eed4811615999f3.tar.bz2
libayatana-appindicator-23d6b5d0da79ac8afaff855f0eed4811615999f3.zip
Adding a defualt file for a little appliction that'll grow into a full app.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am19
-rw-r--r--tests/test-simple-app.c8
2 files changed, 26 insertions, 1 deletions
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;
+}