From 23d6b5d0da79ac8afaff855f0eed4811615999f3 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 9 Nov 2009 00:14:54 -0600 Subject: Adding a defualt file for a little appliction that'll grow into a full app. --- .bzrignore | 1 + tests/Makefile.am | 19 ++++++++++++++++++- tests/test-simple-app.c | 8 ++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 tests/test-simple-app.c 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; +} -- cgit v1.2.3