selftest: Avoid running the slowest of the "none" tests in samba-o3
authorAndrew Bartlett <abartlet@samba.org>
Fri, 8 May 2020 11:28:52 +0000 (23:28 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 15 May 2020 06:05:30 +0000 (06:05 +0000)
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 <abartlet@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
script/autobuild.py
selftest/slow-none [new file with mode: 0644]

index 7a9e57e3b244419c654b0473e1ac3966ef11b741..a9eb980c7aab4900885017358f99a1408b085f1f 100755 (executable)
@@ -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 (file)
index 0000000..2f0ae1e
--- /dev/null
@@ -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