diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2010-02-18 17:33:16 +0100 |
---|---|---|
committer | Sebastien Bacher <seb128@ubuntu.com> | 2010-02-18 17:33:16 +0100 |
commit | 2de657413f7d244e92e1fe2efbc2c412ec862f4d (patch) | |
tree | 8607d41147bed9b60417fbf4d8a73769a8837a4d /tests/Makefile.am | |
parent | 050ef48d22ce3f4626eb11867fea14f0e8a0854e (diff) | |
parent | 6528ac058ec48080e39fd0d83f2e5f78b5da3111 (diff) | |
download | libayatana-indicator-2de657413f7d244e92e1fe2efbc2c412ec862f4d.tar.gz libayatana-indicator-2de657413f7d244e92e1fe2efbc2c412ec862f4d.tar.bz2 libayatana-indicator-2de657413f7d244e92e1fe2efbc2c412ec862f4d.zip |
releasing version 0.3.3-0ubuntu10.3.3-0ubuntu1
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index b111655..cd1a958 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -34,6 +34,42 @@ test_loader_LDADD = \ -lindicator ############################# +# Test Desktop Shortcuts +############################# + +check_PROGRAMS += test-desktop-shortcuts + +test_desktop_shortcuts_SOURCES = \ + test-desktop-shortcuts.c + +test_desktop_shortcuts_CFLAGS = \ + -Wall -Werror \ + -DSRCDIR="\"$(srcdir)\"" \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) \ + -DBUILD_DIR="\"$(builddir)\"" + +test_desktop_shortcuts_LDADD = \ + $(LIBINDICATOR_LIBS) \ + -L$(top_builddir)/libindicator/.libs \ + -lindicator + +DS_XML_REPORT = desktop-shortcuts-check-results.xml +DS_HTML_REPORT = desktop-shortcuts-check-results.html + +test-desktop-shortcuts-tester: test-desktop-shortcuts Makefile.am + @echo "#!/bin/bash" > $@ + @echo $(XVFB_RUN) >> $@ + @echo gtester -k --verbose -o=$(XML_REPORT) ./test-desktop-shortcuts >> $@ + @chmod +x $@ + +TESTS += test-desktop-shortcuts-tester +DISTCLEANFILES += test-desktop-shortcuts-tester \ + test-desktop-shortcuts-touch-test \ + $(DS_XML_REPORT) \ + $(DS_HTML_REPORT) +EXTRA_DIST += test-well-formed.desktop + +############################# # Dummy Indicator Blank ############################# |