aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDennis Schridde <devurandom@gmx.net>2011-09-02 09:54:39 -0500
committerTed Gould <ted@gould.cx>2011-09-02 09:54:39 -0500
commit89cf0dc43171c9d2b708cd8c9de27593f1338097 (patch)
tree891693698a30947e3455b42f4312a7b422493a6c /tests
parent6a217805e685c47223da9513c31d2a26f0141ccf (diff)
downloadlibdbusmenu-89cf0dc43171c9d2b708cd8c9de27593f1338097.tar.gz
libdbusmenu-89cf0dc43171c9d2b708cd8c9de27593f1338097.tar.bz2
libdbusmenu-89cf0dc43171c9d2b708cd8c9de27593f1338097.zip
Make building for 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"