From 4fc9c62ab2356caeaac7fc7dd968bdf0cb838d46 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Tue, 12 Jun 2012 08:55:51 +0200 Subject: 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 --- tests/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') 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 += \ -- cgit v1.2.3