diff options
author | Ted Gould <ted@gould.cx> | 2010-07-12 09:28:16 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-07-12 09:28:16 -0500 |
commit | e273b812e0ee52f84e2284d2560e63437cbc1a67 (patch) | |
tree | 1eb460bc2d5bbb769af264b1bbd826a69a722f68 /tests/Makefile.am | |
parent | 4e2c23b9b99d2014747a051d949b0c2a2d9595db (diff) | |
parent | 7ef183418aaee73864e44d93b32e80962fdea07a (diff) | |
download | libayatana-appindicator-e273b812e0ee52f84e2284d2560e63437cbc1a67.tar.gz libayatana-appindicator-e273b812e0ee52f84e2284d2560e63437cbc1a67.tar.bz2 libayatana-appindicator-e273b812e0ee52f84e2284d2560e63437cbc1a67.zip |
* Merge upstream
* Adding an Approver API to remove things from the AppIndicators.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 8d356bc..867d4de 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,32 @@ 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 . $(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 ######################################### |