summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2017-01-31 14:50:53 +1100
committerStefan Metzmacher <metze@samba.org>2017-01-31 08:08:14 +0100
commit08b4a5f9f1575c882ab7174eb3249b574df6976f (patch)
tree47e71af086631ace11fcedbf62180aed21fb06fc /ctdb
parent76a2999744cd3dd872e0113cc036bcebe2323a2a (diff)
downloadsamba-08b4a5f9f1575c882ab7174eb3249b574df6976f.tar.gz
ctdb-tests: Do not build mutex test if robust mutexes are not supported
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12469 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/wscript9
1 files changed, 5 insertions, 4 deletions
diff --git a/ctdb/wscript b/ctdb/wscript
index b9a3072801e..446bd8d3529 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',