From: Andrew Bartlett Date: Fri, 8 May 2020 11:28:52 +0000 (+1200) Subject: selftest: Avoid running the slowest of the "none" tests in samba-o3 X-Git-Tag: ldb-2.2.0~485 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e08ea2aa3ed95398c9679aaaa2722aecff77547;p=thirdparty%2Fsamba.git selftest: Avoid running the slowest of the "none" tests in samba-o3 This job is already quite long and these tests are unlikely to vary between hosts or under the -O3 compile Signed-off-by: Andrew Bartlett Reviewed-by: Volker Lendecke --- diff --git a/script/autobuild.py b/script/autobuild.py index 7a9e57e3b24..a9eb980c7aa 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -245,6 +245,7 @@ tasks = { "schema_dc", "clusteredmember_smb1", ])), + ("test-slow-none", make_test(cmd='make test', TESTS="--include=selftest/slow-none", include_envs=["none"])), ("lcov", LCOV_CMD), ("install", "make install"), ("check-clean-tree", "script/clean-source-tree.sh"), @@ -563,7 +564,7 @@ tasks = { ("random-sleep", random_sleep(300, 900)), ("configure", "ADDITIONAL_CFLAGS='-O3 -Wp,-D_FORTIFY_SOURCE=2' ./configure.developer --with-selftest-prefix=./bin/ab --abi-check-disable" + samba_configure_params), ("make", "make -j"), - ("test", make_test(cmd='make test', include_envs=["none"])), + ("test", make_test(cmd='make test', TESTS="--exclude=selftest/slow-none", include_envs=["none"])), ("quicktest", make_test(cmd='make quicktest', include_envs=["ad_dc", "ad_dc_smb1", "ad_dc_smb1_done"])), ("lcov", LCOV_CMD), ("install", "make install"), diff --git a/selftest/slow-none b/selftest/slow-none new file mode 100644 index 00000000000..2f0ae1e98cc --- /dev/null +++ b/selftest/slow-none @@ -0,0 +1,13 @@ +# This file to have control over where in autobuild the slower "none" +# tests are running, to avoid really slow tests being run on multiple +# hosts that host the samba-o3 job. +^samba.tests.docs +^ldb.python +^samba.tests.dsdb_lock +^samba4.blackbox.upgradeprovision.alpha13 +^samba4.blackbox.upgradeprovision.release-4-0-0 +^samba.tests.domain_backup_offline +^samba.tests.samba_tool.help +^samba4.blackbox.schemaupgrade +^samba4.blackbox.group.py +^samba4.blackbox.provision.py