diff options
author | Ted Gould <ted@gould.cx> | 2010-02-16 22:51:13 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-16 22:51:13 -0600 |
commit | a9e097f3f87fa3aac7a06ddbc137c6122c65c9dc (patch) | |
tree | 42360c9b2d858b2c97ac8dea8cef91f2afcaa1bd /tests/Makefile.am | |
parent | 72ef75fa51c63e533ff2883bffc75bfc86a2c521 (diff) | |
parent | 6665fd01b1b85646f5c21aa393a3c3e6a8e4ab97 (diff) | |
download | libayatana-indicator-a9e097f3f87fa3aac7a06ddbc137c6122c65c9dc.tar.gz libayatana-indicator-a9e097f3f87fa3aac7a06ddbc137c6122c65c9dc.tar.bz2 libayatana-indicator-a9e097f3f87fa3aac7a06ddbc137c6122c65c9dc.zip |
* Upstream merge
* Adding new object for parsing desktop files for Shortcuts
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 ############################# |