mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 01:51:00 +03:00
Remove CI builder customization from TEST
The default options are reasonable for all of the CI builders. * TEST_XFSTESTS_SKIP=yes - This is already the default. * TEST_ZTEST_TIMEOUT=3600 - Increased ztest run time only increases code coverage by a small degree. Default 900s runs are sufficient. * Disabling certain tests on 32-bit builders is no longer needed. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #10129
This commit is contained in:
parent
d3fe62cb35
commit
c94fb10917
61
TEST
61
TEST
@ -48,64 +48,3 @@
|
|||||||
#TEST_ZFSSTRESS_VDEV="/var/tmp/vdev"
|
#TEST_ZFSSTRESS_VDEV="/var/tmp/vdev"
|
||||||
#TEST_ZFSSTRESS_DIR="/$TEST_ZFSSTRESS_POOL/$TEST_ZFSSTRESS_FS"
|
#TEST_ZFSSTRESS_DIR="/$TEST_ZFSSTRESS_POOL/$TEST_ZFSSTRESS_FS"
|
||||||
#TEST_ZFSSTRESS_OPTIONS=""
|
#TEST_ZFSSTRESS_OPTIONS=""
|
||||||
|
|
||||||
### per-builder customization
|
|
||||||
#
|
|
||||||
# BB_NAME=builder-name <distribution-version-architecture-type>
|
|
||||||
# - distribution=Amazon,Debian,Fedora,RHEL,SUSE,Ubuntu
|
|
||||||
# - version=x.y
|
|
||||||
# - architecture=x86_64,i686,arm,aarch64
|
|
||||||
# - type=build,test
|
|
||||||
#
|
|
||||||
case "$BB_NAME" in
|
|
||||||
Amazon*)
|
|
||||||
# ZFS enabled xfstests fails to build
|
|
||||||
TEST_XFSTESTS_SKIP="yes"
|
|
||||||
;;
|
|
||||||
CentOS-7*)
|
|
||||||
# ZFS enabled xfstests fails to build
|
|
||||||
TEST_XFSTESTS_SKIP="yes"
|
|
||||||
;;
|
|
||||||
CentOS-6*)
|
|
||||||
;;
|
|
||||||
Debian*)
|
|
||||||
;;
|
|
||||||
Fedora*)
|
|
||||||
;;
|
|
||||||
RHEL*)
|
|
||||||
;;
|
|
||||||
SUSE*)
|
|
||||||
;;
|
|
||||||
Ubuntu-16.04*)
|
|
||||||
# ZFS enabled xfstests fails to build
|
|
||||||
TEST_XFSTESTS_SKIP="yes"
|
|
||||||
;;
|
|
||||||
Ubuntu*)
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
###
|
|
||||||
#
|
|
||||||
# Run ztest longer on the "coverage" builders to gain more code coverage
|
|
||||||
# data out of ztest, libzpool, etc.
|
|
||||||
#
|
|
||||||
case "$BB_NAME" in
|
|
||||||
*coverage*)
|
|
||||||
TEST_ZTEST_TIMEOUT=3600
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
TEST_ZTEST_TIMEOUT=900
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
###
|
|
||||||
#
|
|
||||||
# Disable the following test suites on 32-bit systems.
|
|
||||||
#
|
|
||||||
if [ $(getconf LONG_BIT) = "32" ]; then
|
|
||||||
TEST_ZTEST_SKIP="yes"
|
|
||||||
TEST_XFSTESTS_SKIP="yes"
|
|
||||||
TEST_ZFSSTRESS_SKIP="yes"
|
|
||||||
fi
|
|
||||||
|
Loading…
Reference in New Issue
Block a user