mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
selftest: Run only the samba3 tests on builds without the AD DC
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu May 24 11:51:40 CEST 2012 on sn-devel-104
This commit is contained in:
parent
9633ec0c86
commit
e33bf32ba3
@ -180,8 +180,13 @@ def cmd_testonly(opt):
|
||||
env.TESTLISTS = ('--testlist="${PYTHON} ${srcdir}/source3/selftest/tests.py|" ' +
|
||||
'--testlist="${PYTHON} ${srcdir}/source4/selftest/tests.py|"')
|
||||
|
||||
if CONFIG_SET(opt, 'AD_DC_BUILD_IS_ENABLED'):
|
||||
env.SELFTEST_TARGET="samba"
|
||||
else:
|
||||
env.SELFTEST_TARGET="samba3"
|
||||
|
||||
# We use the full path rather than relative path because it cause problems on some plateforms (ie. solaris 8).
|
||||
env.CORE_COMMAND = '${PERL} ${srcdir}/selftest/selftest.pl --target=samba --prefix=${SELFTEST_PREFIX} --srcdir=${srcdir} --exclude=${srcdir}/selftest/skip ${TESTLISTS} ${OPTIONS} ${TESTS}'
|
||||
env.CORE_COMMAND = '${PERL} ${srcdir}/selftest/selftest.pl --target=${SELFTEST_TARGET} --prefix=${SELFTEST_PREFIX} --srcdir=${srcdir} --exclude=${srcdir}/selftest/skip ${TESTLISTS} ${OPTIONS} ${TESTS}'
|
||||
if Options.options.LIST:
|
||||
cmd = '${CORE_COMMAND} --list'
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user