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

index b868e4e3cca29e7192997885461f1fa59d97db32..488467381289db03a56ea3a8b624d52db130dc50 100755 (executable)
@@ -3,9 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-VFSTEST_SRC = '''torture/cmd_vfs.c torture/vfstest.c
-               torture/vfstest_chain.c'''
-
 LOG2PCAP_SRC = '''utils/log2pcaphex.c'''
 
 LOCKTEST2_SRC = '''torture/locktest2.c'''
@@ -1363,13 +1360,14 @@ bld.SAMBA3_BINARY('pdbtest',
                  install=False)
 
 bld.SAMBA3_BINARY('vfstest',
-                 source=VFSTEST_SRC,
+                 source='''torture/cmd_vfs.c
+                 torture/vfstest.c
+                 torture/vfstest_chain.c''',
                  deps='''
                  vfs
                  popt_samba3
                  SMBREADLINE''',
-                 install=False,
-                 vars=locals())
+                 install=False)
 
 bld.SAMBA3_BINARY('log2pcap',
                  source=LOG2PCAP_SRC,