]> granicus.if.org Git - zfs/commitdiff
Add TEST configuration file for buildbot
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 5 Nov 2015 16:13:52 +0000 (08:13 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 10 Nov 2015 23:36:16 +0000 (15:36 -0800)
The TEST file is provided as a hint to the automated test infra-
structure.  It controls which regression tests are run and how they
are run.  This file along with any lines in the commit messages
which start with TEST_*  are sourced by the test scripts and can
be used to override the default values.  For complete details see:

https://github.com/zfsonlinux/zfs-buildbot/

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
TEST [new file with mode: 0644]

diff --git a/TEST b/TEST
new file mode 100644 (file)
index 0000000..05818fa
--- /dev/null
+++ b/TEST
@@ -0,0 +1,95 @@
+#!/bin/sh
+
+### prepare
+#TEST_PREPARE_WATCHDOG="no"
+
+### SPLAT
+#TEST_SPLAT_SKIP="yes"
+#TEST_SPLAT_OPTIONS="-acvx"
+
+### ztest
+#TEST_ZTEST_SKIP="yes"
+#TEST_ZTEST_TIMEOUT=1800
+#TEST_ZTEST_DIR="/var/tmp/"
+#TEST_ZTEST_OPTIONS="-V"
+
+### ziltest
+#TEST_ZILTEST_SKIP="yes"
+#TEST_ZILTEST_OPTIONS=""
+
+### zconfig
+#TEST_ZCONFIG_SKIP="yes"
+TEST_ZCONFIG_OPTIONS="-c -s10"
+
+### zimport
+#TEST_ZIMPORT_SKIP="yes"
+#TEST_ZIMPORT_DIR="/var/tmp/zimport"
+#TEST_ZIMPORT_VERSIONS="master installed"
+#TEST_ZIMPORT_POOLS="zol-0.6.1 zol-0.6.2 master installed"
+#TEST_ZIMPORT_OPTIONS="-c"
+
+### xfstests
+#TEST_XFSTESTS_SKIP="yes"
+#TEST_XFSTESTS_URL="https://github.com/behlendorf/xfstests/archive/"
+#TEST_XFSTESTS_VER="zfs.tar.gz"
+#TEST_XFSTESTS_POOL="tank"
+#TEST_XFSTESTS_FS="xfstests"
+#TEST_XFSTESTS_VDEV="/var/tmp/vdev"
+#TEST_XFSTESTS_OPTIONS=""
+
+### filebench
+#TEST_FILEBENCH_SKIP="yes"
+#TEST_FILEBENCH_URL="http://build.zfsonlinux.org/"
+#TEST_FILEBENCH_VER="filebench-1.4.9.1.tar.gz"
+#TEST_FILEBENCH_RUNTIME=10
+#TEST_FILEBENCH_POOL="tank"
+#TEST_FILEBENCH_FS="filebench"
+#TEST_FILEBENCH_VDEV="/var/tmp/vdev"
+#TEST_FILEBENCH_DIR="/$TEST_FILEBENCH_POOL/$TEST_FILEBENCH_FS"
+#TEST_FILEBENCH_OPTIONS=""
+
+### zfsstress
+#TEST_ZFSSTRESS_SKIP="yes"
+#TEST_ZFSSTRESS_URL="https://github.com/nedbass/zfsstress/archive/"
+#TEST_ZFSSTRESS_VER="master.tar.gz"
+#TEST_ZFSSTRESS_RUNTIME=300
+#TEST_ZFSSTRESS_POOL="tank"
+#TEST_ZFSSTRESS_FS="fish"
+#TEST_ZFSSTRESS_VDEV="/var/tmp/vdev"
+#TEST_ZFSSTRESS_DIR="/$TEST_ZFSSTRESS_POOL/$TEST_ZFSSTRESS_FS"
+#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*)
+    ;;
+CentOS*)
+    # Fails vnode:vn_rdwr, CentOS 6.
+    TEST_SPLAT_SKIP="yes"
+    # Sporadic segmentation faults
+    TEST_ZTEST_SKIP="yes"
+    # Sporadic VERIFY(!zilog_is_dirty(zilog)) failed
+    TEST_ZILTEST_SKIP="yes"
+    # Hangs loading modules
+    TEST_ZCONFIG_SKIP="yes"
+    ;;
+Debian*)
+    ;;
+Fedora*)
+    ;;
+RHEL*)
+    ;;
+SUSE*)
+    ;;
+Ubuntu*)
+    ;;
+*)
+    ;;
+esac