[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Mon Mar 30 17:57:04 MDT 2015


The branch, master has been updated
       via  48e90ba tdb: Do not build test binaries if it's not a standalone build
      from  9bcd27d s4-torture: add test to verify nbt_name with "." ending handling.

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 48e90ba062ecde71d03c3cf4bc9a809f805fabe4
Author: Amitay Isaacs <amitay at gmail.com>
Date:   Fri Aug 15 11:36:40 2014 +1000

    tdb: Do not build test binaries if it's not a standalone build
    
    Signed-off-by: Amitay Isaacs <amitay at gmail.com>
    Reviewed-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Tue Mar 31 01:56:02 CEST 2015 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 lib/tdb/wscript | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index fdc5d2f..b369c1b 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -165,17 +165,18 @@ def build(bld):
                          'tools/tdbtool.c',
                          'tdb', manpages='man/tdbtool.8')
 
-        # FIXME: This hardcoded list is stupid, stupid, stupid.
-        bld.SAMBA_SUBSYSTEM('tdb-test-helpers',
-                            'test/external-agent.c test/lock-tracking.c test/logging.c',
-                            tdb_deps,
-                            includes='include')
-
-        for t in tdb1_unit_tests:
-            b = "tdb1-" + t
-            s = "test/" + t + ".c"
-            bld.SAMBA_BINARY(b, s, 'replace tdb-test-helpers',
-                             includes='include', install=False)
+        if bld.env.standalone_tdb:
+            # FIXME: This hardcoded list is stupid, stupid, stupid.
+            bld.SAMBA_SUBSYSTEM('tdb-test-helpers',
+                                'test/external-agent.c test/lock-tracking.c test/logging.c',
+                                tdb_deps,
+                                includes='include')
+
+            for t in tdb1_unit_tests:
+                b = "tdb1-" + t
+                s = "test/" + t + ".c"
+                bld.SAMBA_BINARY(b, s, 'replace tdb-test-helpers',
+                                 includes='include', install=False)
 
     if not bld.CONFIG_SET('USING_SYSTEM_PYTDB'):
         bld.SAMBA_PYTHON('pytdb',


-- 
Samba Shared Repository


More information about the samba-cvs mailing list