From 9d0022336ab25126e15a1b205bc8b6edd832a09f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Baumbach?= Date: Mon, 30 Jan 2017 12:49:00 +0100 Subject: [PATCH] build: skip build of test_mutex_raw if robust mutexes are not available MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test was introduced with the fix of bug 12469: https://bugzilla.samba.org/show_bug.cgi?id=12469 Signed-off-by: Björn Baumbach --- ctdb/wscript | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ctdb/wscript b/ctdb/wscript index b9a3072..446bd8d 100644 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -830,10 +830,11 @@ def build(bld): ib_deps, install_path='${CTDB_TEST_LIBEXECDIR}') - bld.SAMBA_BINARY('test_mutex_raw', - source='tests/src/test_mutex_raw.c', - deps='pthread', - install_path='${CTDB_TEST_LIBEXECDIR}') + if bld.env.HAVE_ROBUST_MUTEXES: + bld.SAMBA_BINARY('test_mutex_raw', + source='tests/src/test_mutex_raw.c', + deps='pthread', + install_path='${CTDB_TEST_LIBEXECDIR}') test_subdirs = [ 'complex', -- 2.7.3