From: Noel Power Date: Tue, 22 Oct 2019 21:57:36 +0000 (+0100) Subject: selftest: Exclude SMB1 tests that would fail when SMB1 is disabled X-Git-Tag: ldb-2.2.0~1121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f2cdadfef3e631e1de17089e10ce33cfa75710a;p=thirdparty%2Fsamba.git selftest: Exclude SMB1 tests that would fail when SMB1 is disabled Exclude the tests specified in the file 'skip_smb1_fails' which contains the list of tests that would fail if min protocol >= SMB2_02 Note: a subsequent commit will change the default min protocol so in order to maintain bisectability we skip the tests before we change the default. Signed-off-by: Noel Power Reviewed-by: Ralph Boehme --- diff --git a/selftest/wscript b/selftest/wscript index 57057be176e..4bb4ead2a35 100644 --- a/selftest/wscript +++ b/selftest/wscript @@ -182,6 +182,9 @@ def cmd_testonly(opt): else: env.FILTER_OPTIONS = '${FILTER_XFAIL}' + # Maybe this should be optional + env.OPTIONS += ' --exclude=${srcdir}/selftest/skip_smb1_fails' + if Options.options.VALGRIND: os.environ['VALGRIND'] = 'valgrind -q --num-callers=30' if Options.options.VALGRINDLOG is not None: