aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEvgeni Golov <evgeni@debian.org>2012-06-12 08:55:51 +0200
committerEvgeni Golov <evgeni@debian.org>2012-06-12 08:55:51 +0200
commit4fc9c62ab2356caeaac7fc7dd968bdf0cb838d46 (patch)
tree64dd63272a08b81432e4f28f7f2ddd33da7af560 /tests
parent582b25fa3feb01f28196c6c26c898f859afeb808 (diff)
downloadlibdbusmenu-4fc9c62ab2356caeaac7fc7dd968bdf0cb838d46.tar.gz
libdbusmenu-4fc9c62ab2356caeaac7fc7dd968bdf0cb838d46.tar.bz2
libdbusmenu-4fc9c62ab2356caeaac7fc7dd968bdf0cb838d46.zip
make pkg-config check not fail if valgrind was not found
this allows to build and run non-valgrind checks on arches where valgrind is not available
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index df87dc8..c375562 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -16,10 +16,12 @@ TESTS = \
test-glib-submenu
if WANT_DBUSMENUDUMPER
+if HAVE_VALGRIND
TESTS += \
test-json \
test-json-instruction
endif
+endif
if WANT_LIBDBUSMENUGTK
TESTS += \
@@ -59,10 +61,12 @@ check_PROGRAMS = \
test-glib-simple-items
if WANT_DBUSMENUDUMPER
+if HAVE_VALGRIND
check_PROGRAMS += \
test-json-client \
test-json-server
endif
+endif
if WANT_LIBDBUSMENUGTK
check_PROGRAMS += \