]>
Commit | Line | Data |
---|---|---|
f3e2a7ac BB |
1 | #!/bin/sh |
2 | ||
3 | ### prepare | |
eef005d8 GDN |
4 | #TEST_PREPARE_WATCHDOG="yes" |
5 | #TEST_PREPARE_SHARES="yes" | |
f3e2a7ac BB |
6 | |
7 | ### SPLAT | |
8 | #TEST_SPLAT_SKIP="yes" | |
9 | #TEST_SPLAT_OPTIONS="-acvx" | |
10 | ||
11 | ### ztest | |
12 | #TEST_ZTEST_SKIP="yes" | |
13 | #TEST_ZTEST_TIMEOUT=1800 | |
14 | #TEST_ZTEST_DIR="/var/tmp/" | |
15 | #TEST_ZTEST_OPTIONS="-V" | |
eef005d8 | 16 | #TEST_ZTEST_CORE_DIR="/mnt/zloop" |
f3e2a7ac | 17 | |
f3e2a7ac BB |
18 | ### zimport |
19 | #TEST_ZIMPORT_SKIP="yes" | |
20 | #TEST_ZIMPORT_DIR="/var/tmp/zimport" | |
21 | #TEST_ZIMPORT_VERSIONS="master installed" | |
22 | #TEST_ZIMPORT_POOLS="zol-0.6.1 zol-0.6.2 master installed" | |
23 | #TEST_ZIMPORT_OPTIONS="-c" | |
24 | ||
25 | ### xfstests | |
26 | #TEST_XFSTESTS_SKIP="yes" | |
27 | #TEST_XFSTESTS_URL="https://github.com/behlendorf/xfstests/archive/" | |
28 | #TEST_XFSTESTS_VER="zfs.tar.gz" | |
29 | #TEST_XFSTESTS_POOL="tank" | |
30 | #TEST_XFSTESTS_FS="xfstests" | |
31 | #TEST_XFSTESTS_VDEV="/var/tmp/vdev" | |
32 | #TEST_XFSTESTS_OPTIONS="" | |
33 | ||
6bb24f4d BB |
34 | ### zfs-tests.sh |
35 | #TEST_ZFSTESTS_SKIP="yes" | |
eef005d8 | 36 | #TEST_ZFSTESTS_DIR="/mnt/" |
6bb24f4d BB |
37 | #TEST_ZFSTESTS_DISKS="vdb vdc vdd" |
38 | #TEST_ZFSTESTS_DISKSIZE="8G" | |
eef005d8 GDN |
39 | #TEST_ZFSTESTS_ITERS="1" |
40 | #TEST_ZFSTESTS_OPTIONS="-vx" | |
6bb24f4d | 41 | #TEST_ZFSTESTS_RUNFILE="linux.run" |
eef005d8 | 42 | #TEST_ZFSTESTS_TAGS="functional" |
6bb24f4d | 43 | |
f3e2a7ac BB |
44 | ### zfsstress |
45 | #TEST_ZFSSTRESS_SKIP="yes" | |
46 | #TEST_ZFSSTRESS_URL="https://github.com/nedbass/zfsstress/archive/" | |
47 | #TEST_ZFSSTRESS_VER="master.tar.gz" | |
48 | #TEST_ZFSSTRESS_RUNTIME=300 | |
49 | #TEST_ZFSSTRESS_POOL="tank" | |
50 | #TEST_ZFSSTRESS_FS="fish" | |
eef005d8 | 51 | #TEST_ZFSSTRESS_FSOPT="-o overlay=on" |
f3e2a7ac BB |
52 | #TEST_ZFSSTRESS_VDEV="/var/tmp/vdev" |
53 | #TEST_ZFSSTRESS_DIR="/$TEST_ZFSSTRESS_POOL/$TEST_ZFSSTRESS_FS" | |
54 | #TEST_ZFSSTRESS_OPTIONS="" | |
55 | ||
56 | ### per-builder customization | |
57 | # | |
58 | # BB_NAME=builder-name <distribution-version-architecture-type> | |
59 | # - distribution=Amazon,Debian,Fedora,RHEL,SUSE,Ubuntu | |
60 | # - version=x.y | |
61 | # - architecture=x86_64,i686,arm,aarch64 | |
62 | # - type=build,test | |
63 | # | |
64 | case "$BB_NAME" in | |
65 | Amazon*) | |
bbfd6354 BB |
66 | # ZFS enabled xfstests fails to build |
67 | TEST_XFSTESTS_SKIP="yes" | |
f3e2a7ac | 68 | ;; |
db2c364f BB |
69 | CentOS-7*) |
70 | # ZFS enabled xfstests fails to build | |
71 | TEST_XFSTESTS_SKIP="yes" | |
db2c364f BB |
72 | ;; |
73 | CentOS-6*) | |
f3e2a7ac BB |
74 | ;; |
75 | Debian*) | |
76 | ;; | |
77 | Fedora*) | |
78 | ;; | |
79 | RHEL*) | |
80 | ;; | |
81 | SUSE*) | |
82 | ;; | |
db2c364f BB |
83 | Ubuntu-16.04*) |
84 | # ZFS enabled xfstests fails to build | |
85 | TEST_XFSTESTS_SKIP="yes" | |
db2c364f | 86 | ;; |
f3e2a7ac BB |
87 | Ubuntu*) |
88 | ;; | |
89 | *) | |
90 | ;; | |
91 | esac | |
ffb78320 | 92 | |
0c484ab5 PS |
93 | ### |
94 | # | |
95 | # Run ztest longer on the "coverage" builders to gain more code coverage | |
96 | # data out of ztest, libzpool, etc. | |
97 | # | |
98 | case "$BB_NAME" in | |
99 | *coverage*) | |
100 | TEST_ZTEST_TIMEOUT=3600 | |
101 | ;; | |
102 | *) | |
103 | TEST_ZTEST_TIMEOUT=900 | |
104 | ;; | |
105 | esac | |
106 | ||
ffb78320 BB |
107 | ### |
108 | # | |
109 | # Disable the following test suites on 32-bit systems. | |
110 | # | |
111 | if [ $(getconf LONG_BIT) = "32" ]; then | |
112 | TEST_ZTEST_SKIP="yes" | |
ffb78320 BB |
113 | TEST_XFSTESTS_SKIP="yes" |
114 | TEST_ZFSSTRESS_SKIP="yes" | |
115 | fi |