diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2010-07-15 12:12:19 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2010-07-15 12:12:19 -0400 |
commit | 38feb55cf50484549d8d0c08c0c244f4f53cb38d (patch) | |
tree | 4bac2345b613e22f0dde850d21c0cf482551f27c /tests/Makefile.am | |
parent | 22da24cc09fef99a1574a48b614fc3cc57a9597e (diff) | |
parent | 8faa8b6fc99b117bd0799aabc90dc3d271a5fe96 (diff) | |
download | ayatana-indicator-application-38feb55cf50484549d8d0c08c0c244f4f53cb38d.tar.gz ayatana-indicator-application-38feb55cf50484549d8d0c08c0c244f4f53cb38d.tar.bz2 ayatana-indicator-application-38feb55cf50484549d8d0c08c0c244f4f53cb38d.zip |
releasing version 0.2.3-0ubuntu1
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 8d356bc..f2bdbb2 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,5 +1,6 @@ check_PROGRAMS = \ + test-approver \ test-libappindicator \ test-libappindicator-dbus-client \ test-libappindicator-dbus-server \ @@ -99,6 +100,33 @@ test_libappindicator_status_server_LDADD = \ $(top_builddir)/src/libappindicator.la ######################################### +## test-approver +######################################### + +test_approver_SOURCES = \ + test-approver.c + +test_approver_CFLAGS = \ + $(INDICATOR_CFLAGS) \ + -Wall -Werror \ + -I$(top_srcdir)/src \ + -I$(top_builddir)/src + +test_approver_LDADD = \ + $(INDICATOR_LIBS) \ + $(top_builddir)/src/libappindicator.la + +test-approver-tester: test-approver Makefile.am + @echo "#!/bin/bash" > $@ + @echo export INDICATOR_SERVICE_SHUTDOWN_TIMEOUT=1000 >> $@ + @echo . $(srcdir)/run-xvfb.sh >> $@ + @echo $(DBUS_RUNNER) --task $(builddir)/test-approver --task-name Approver --task $(top_builddir)/src/indicator-application-service --task-name Service --ignore-return >> $@ + @chmod +x $@ + +TESTS += test-approver-tester + + +######################################### ## test-libappindicator-fallback ######################################### |