diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-29 07:47:57 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-29 08:01:48 +1000 |
commit | 4a87ca2028fe301d1d61e5cd365df49ff1f2dd22 (patch) | |
tree | ae8ec6fddf5d778652fd26e4e0683e9cd7753721 /source4/torture/wscript_build | |
parent | 08c3ce25c6d0571c6271645ef4dae3c5ca2b0e33 (diff) | |
download | samba-4a87ca2028fe301d1d61e5cd365df49ff1f2dd22.tar.gz samba-4a87ca2028fe301d1d61e5cd365df49ff1f2dd22.tar.bz2 samba-4a87ca2028fe301d1d61e5cd365df49ff1f2dd22.zip |
s4-waf: added --enable-build-farm configure option
this adds a smbtorture.static binary which s3 will use in the build
farm
Diffstat (limited to 'source4/torture/wscript_build')
-rw-r--r-- | source4/torture/wscript_build | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/source4/torture/wscript_build b/source4/torture/wscript_build index 220673af2b..33f9f15e73 100644 --- a/source4/torture/wscript_build +++ b/source4/torture/wscript_build @@ -131,13 +131,30 @@ bld.SAMBA_MODULE('TORTURE_NTP', TORTURE_MODULES = 'TORTURE_BASIC TORTURE_RAW torture_rpc TORTURE_RAP TORTURE_AUTH TORTURE_NBENCH TORTURE_UNIX TORTURE_LDAP TORTURE_NBT TORTURE_NET TORTURE_NTP torture_registry' +bld.SAMBA_SUBSYSTEM('torturemain', + source='smbtorture.c torture.c', + subsystem_name='smbtorture', + deps='torture popt POPT_SAMBA POPT_CREDENTIALS dcerpc LIBCLI_SMB SMBREADLINE ' + TORTURE_MODULES, + needs_python=True + ) + bld.SAMBA_BINARY('smbtorture', - source='smbtorture.c torture.c', - manpages='man/smbtorture.1', - public_headers='smbtorture.h', - deps='torture popt POPT_SAMBA POPT_CREDENTIALS dcerpc LIBCLI_SMB SMBREADLINE ' + TORTURE_MODULES, - needs_python=True - ) + source=[], + manpages='man/smbtorture.1', + public_headers='smbtorture.h', + deps='torturemain torture popt POPT_SAMBA POPT_CREDENTIALS dcerpc LIBCLI_SMB SMBREADLINE ' + TORTURE_MODULES, + needs_python=True + ) + +# this is used in the build farm to build a smbtorture.static binary for s3 +bld.SAMBA_BINARY('smbtorture.static', + source=[], + deps='torturemain torture popt POPT_SAMBA POPT_CREDENTIALS dcerpc LIBCLI_SMB SMBREADLINE ' + TORTURE_MODULES, + enabled = bld.env.BUILD_FARM, + needs_python=True + ) +bld.env.NONSHARED_BINARIES.append('smbtorture.static') + bld.SAMBA_BINARY('gentest', |