aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-09-02 11:58:55 -0500
committerTed Gould <ted@gould.cx>2011-09-02 11:58:55 -0500
commit00006803a347a74f679bf262800f0bed484d9cdb (patch)
tree32ca6d82b28fcc59adbb77cf6d4ff34914864930 /tests
parent74f7670af1848a814568d570d2306ed93ece1a6c (diff)
parent89cf0dc43171c9d2b708cd8c9de27593f1338097 (diff)
downloadlibdbusmenu-00006803a347a74f679bf262800f0bed484d9cdb.tar.gz
libdbusmenu-00006803a347a74f679bf262800f0bed484d9cdb.tar.bz2
libdbusmenu-00006803a347a74f679bf262800f0bed484d9cdb.zip
Making GTK optional
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am18
1 files changed, 13 insertions, 5 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index a4763da..e6882af 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -13,13 +13,17 @@ TESTS = \
test-glib-proxy \
test-glib-simple-items \
test-glib-submenu \
- test-json \
+ test-json
+
+if WANT_LIBDBUSMENUGTK
+TESTS += \
test-gtk-objects-test \
test-gtk-label \
test-gtk-shortcut \
test-gtk-reorder \
test-gtk-submenu \
test-gtk-parser-test
+endif
XFAIL_TESTS = \
test-glib-proxy
@@ -44,20 +48,24 @@ check_PROGRAMS = \
test-glib-proxy-client \
test-glib-proxy-server \
test-glib-proxy-proxy \
- test-gtk-objects \
test-glib-submenu-client \
test-glib-submenu-server \
+ test-glib-simple-items \
+ test-json-client \
+ test-json-server
+
+if WANT_LIBDBUSMENUGTK
+check_PROGRAMS += \
+ test-gtk-objects \
test-gtk-label-client \
test-gtk-label-server \
test-gtk-shortcut-client \
test-gtk-shortcut-server \
- test-glib-simple-items \
test-gtk-reorder-server \
- test-json-client \
- test-json-server \
test-gtk-submenu-server \
test-gtk-submenu-client \
test-gtk-parser
+endif
XVFB_RUN=". $(srcdir)/run-xvfb.sh"