Hi,

the unit tests of the pac responder basically have the same dependencies
as the pac responder and should be build only if the pac responder is
build as well.

bye,
Sumit
From 13c93ac960fd9d3ced1c503ef4d806a07e91f420 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sb...@redhat.com>
Date: Sat, 23 Jun 2012 00:15:37 +0200
Subject: [PATCH] Build pac responder tests only if pac responder is build

---
 Makefile.am |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 9d32818..63d81a8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -122,8 +122,12 @@ if HAVE_CHECK
         util-tests \
         debug-tests \
         ipa_hbac-tests \
-        sss_idmap-tests \
-        pac_responder-tests
+        sss_idmap-tests
+
+if BUILD_PAC_RESPONDER
+        non_interactive_check_based_tests += pac_responder-tests
+endif
+
 endif
 
 check_PROGRAMS = \
-- 
1.7.7.6

_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to