summaryrefslogtreecommitdiff
path: root/source3/selftest/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-15 16:39:53 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-16 11:43:04 +0200
commit1870d254956ec56b8116a923adc38f8aae675963 (patch)
tree052f3b9f9966b143563678066d3f2c63d3975d77 /source3/selftest/wscript
parent48bb69ef001be8270ddf145fa4884a2c5ddc2645 (diff)
downloadsamba-1870d254956ec56b8116a923adc38f8aae675963.tar.gz
samba-1870d254956ec56b8116a923adc38f8aae675963.tar.bz2
samba-1870d254956ec56b8116a923adc38f8aae675963.zip
selftest Add binary mappings for samba3 selftest
This will help us have a top level 'make test', working around the fact that the --eanble-s3build has different names for some of these binaries, without fixing the names forever (we can just change the mapping later). Andrew Bartlett
Diffstat (limited to 'source3/selftest/wscript')
-rw-r--r--source3/selftest/wscript7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/selftest/wscript b/source3/selftest/wscript
index db9233049f..1a266880c8 100644
--- a/source3/selftest/wscript
+++ b/source3/selftest/wscript
@@ -103,7 +103,12 @@ def cmd_testonly(opt):
if o[0:1] != '_':
os.environ['TESTENV_%s' % o.upper()] = str(getattr(Options.options, o, ''))
- env.OPTIONS = ''
+ binary_mappings = ('smbtorture3:smbtorture,' +
+ 'nmblookup3:nmblookup,' +
+ 'smbclient3:smbclient,' +
+ 'ntlm_auth3:ntlm_auth')
+
+ env.OPTIONS = '--binary-mapping=' + binary_mappings
if not Options.options.SLOWTEST:
env.OPTIONS += ' --exclude=${srcdir}/source3/selftest/slow'
if Options.options.QUICKTEST: