mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
autobuild: Remove fileserver tests from the main build
Again, this is to allow these to run in the 50min timelimit of travis-ci and so gain test coverage. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
parent
d47fb2232b
commit
e4a969ccc5
@ -30,6 +30,14 @@ build_samba_nt4:
|
|||||||
# this one takes about 1 hours to finish
|
# this one takes about 1 hours to finish
|
||||||
- python script/autobuild.py samba-nt4 --verbose --tail --testbase /tmp/samba-testbase
|
- python script/autobuild.py samba-nt4 --verbose --tail --testbase /tmp/samba-testbase
|
||||||
|
|
||||||
|
build_samba_fileserver:
|
||||||
|
stage: build
|
||||||
|
tags:
|
||||||
|
- autobuild
|
||||||
|
script:
|
||||||
|
# this one takes about 1 hours to finish
|
||||||
|
- python script/autobuild.py samba-fileserver --verbose --tail --testbase /tmp/samba-testbase
|
||||||
|
|
||||||
build_samba_ad_dc:
|
build_samba_ad_dc:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
|
@ -16,6 +16,7 @@ env:
|
|||||||
- TASK=samba-nopython
|
- TASK=samba-nopython
|
||||||
- TASK=samba-systemkrb5
|
- TASK=samba-systemkrb5
|
||||||
- TASK=samba-nt4
|
- TASK=samba-nt4
|
||||||
|
- TASK=samba-fileserver
|
||||||
- TASK=samba-ad-dc
|
- TASK=samba-ad-dc
|
||||||
- TASK=ldb
|
- TASK=ldb
|
||||||
- TASK=tdb
|
- TASK=tdb
|
||||||
|
@ -27,6 +27,7 @@ builddirs = {
|
|||||||
"ctdb" : "ctdb",
|
"ctdb" : "ctdb",
|
||||||
"samba" : ".",
|
"samba" : ".",
|
||||||
"samba-nt4" : ".",
|
"samba-nt4" : ".",
|
||||||
|
"samba-fileserver" : ".",
|
||||||
"samba-xc" : ".",
|
"samba-xc" : ".",
|
||||||
"samba-o3" : ".",
|
"samba-o3" : ".",
|
||||||
"samba-ctdb" : ".",
|
"samba-ctdb" : ".",
|
||||||
@ -51,6 +52,7 @@ builddirs = {
|
|||||||
defaulttasks = [ "ctdb",
|
defaulttasks = [ "ctdb",
|
||||||
"samba",
|
"samba",
|
||||||
"samba-nt4",
|
"samba-nt4",
|
||||||
|
"samba-fileserver",
|
||||||
"samba-xc",
|
"samba-xc",
|
||||||
"samba-o3",
|
"samba-o3",
|
||||||
"samba-ctdb",
|
"samba-ctdb",
|
||||||
@ -101,7 +103,9 @@ tasks = {
|
|||||||
"TESTS='--exclude-env=none "
|
"TESTS='--exclude-env=none "
|
||||||
"--exclude-env=nt4_dc "
|
"--exclude-env=nt4_dc "
|
||||||
"--exclude-env=nt4_member "
|
"--exclude-env=nt4_member "
|
||||||
"--exclude-env=ad_dc ", "text/plain"),
|
"--exclude-env=ad_dc "
|
||||||
|
"--exclude-env=fileserver'",
|
||||||
|
"text/plain"),
|
||||||
("install", "make install", "text/plain"),
|
("install", "make install", "text/plain"),
|
||||||
("check-clean-tree", "script/clean-source-tree.sh", "text/plain"),
|
("check-clean-tree", "script/clean-source-tree.sh", "text/plain"),
|
||||||
("clean", "make clean", "text/plain") ],
|
("clean", "make clean", "text/plain") ],
|
||||||
@ -114,6 +118,13 @@ tasks = {
|
|||||||
("check-clean-tree", "script/clean-source-tree.sh", "text/plain"),
|
("check-clean-tree", "script/clean-source-tree.sh", "text/plain"),
|
||||||
("clean", "make clean", "text/plain") ],
|
("clean", "make clean", "text/plain") ],
|
||||||
|
|
||||||
|
# We split out this so the isolated ad_dc tests do not wait for ad_dc_ntvfs tests (which are long)
|
||||||
|
"samba-fileserver" : [ ("random-sleep", "../script/random-sleep.sh 60 600", "text/plain"),
|
||||||
|
("configure", "./configure.developer --with-selftest-prefix=./bin/ab" + samba_configure_params, "text/plain"),
|
||||||
|
("make", "make -j", "text/plain"),
|
||||||
|
("test", "make test FAIL_IMMEDIATELY=1 TESTS='--include-env=fileserver'", "text/plain"),
|
||||||
|
("check-clean-tree", "script/clean-source-tree.sh", "text/plain")],
|
||||||
|
|
||||||
# We split out this so the isolated ad_dc tests do not wait for ad_dc_ntvfs tests (which are long)
|
# We split out this so the isolated ad_dc tests do not wait for ad_dc_ntvfs tests (which are long)
|
||||||
"samba-ad-dc" : [ ("random-sleep", "../script/random-sleep.sh 60 600", "text/plain"),
|
"samba-ad-dc" : [ ("random-sleep", "../script/random-sleep.sh 60 600", "text/plain"),
|
||||||
("configure", "./configure.developer --with-selftest-prefix=./bin/ab" + samba_configure_params, "text/plain"),
|
("configure", "./configure.developer --with-selftest-prefix=./bin/ab" + samba_configure_params, "text/plain"),
|
||||||
|
Loading…
Reference in New Issue
Block a user