Blob Blame History Raw
From ebf091115b9aaca6a8a78e83b7b4ca7fde95e990 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek@redhat.com>
Date: Wed, 3 Dec 2014 17:00:25 +0100
Subject: [PATCH 131/131] TESTS: Build test_child even without cmocka
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
---
 Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index b719c646721835096931819b10be6f1a766ef22e..8202659e0933529ca7911952bbf1476dbb4a76fc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -234,10 +234,13 @@ endif   # HAVE_CMOCKA
 check_PROGRAMS = \
     stress-tests \
     krb5-child-test \
-    test-child \
     $(non_interactive_cmocka_based_tests) \
     $(non_interactive_check_based_tests)
 
+if HAVE_CMOCKA
+check_PROGRAMS += test-child
+endif # HAVE_CMOCKA
+
 PYTHON_TESTS =
 
 if BUILD_PYTHON_BINDINGS
-- 
1.9.3