build: list source of binary pdbtest directly in def, remove vars=locals()
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 07:52:44 +0000 (09:52 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:25:49 +0000 (20:25 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index 4161c87ed4ae7efc4ad226b66728a1b0bae0fd77..b868e4e3cca29e7192997885461f1fa59d97db32 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-PDBTEST_SRC = '''torture/pdbtest.c'''
-
 VFSTEST_SRC = '''torture/cmd_vfs.c torture/vfstest.c
                torture/vfstest_chain.c'''
 
@@ -1355,15 +1353,14 @@ bld.SAMBA3_BINARY('sharesec',
                  vars=locals())
 
 bld.SAMBA3_BINARY('pdbtest',
-                 source=PDBTEST_SRC,
+                 source='torture/pdbtest.c',
                  deps='''
                  talloc
                  pdb
                  popt_samba3
                  AUTH_COMMON
                  auth''',
-                 install=False,
-                 vars=locals())
+                 install=False)
 
 bld.SAMBA3_BINARY('vfstest',
                  source=VFSTEST_SRC,