3
# Licensed to the Apache Software Foundation (ASF) under one
4
# or more contributor license agreements. See the NOTICE file
5
# distributed with this work for additional information
6
# regarding copyright ownership. The ASF licenses this file
7
# to you under the Apache License, Version 2.0 (the
8
# "License"); you may not use this file except in compliance
9
# with the License. You may obtain a copy of the License at
11
# http://www.apache.org/licenses/LICENSE-2.0
13
# Unless required by applicable law or agreed to in writing,
14
# software distributed under the License is distributed on an
15
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
# KIND, either express or implied. See the License for the
17
# specific language governing permissions and limitations
27
local) check=check; skipC=;;
28
svn) check=svnserveautocheck; skipC="SKIP_C_TESTS=1";;
29
dav) check=davautocheck; skipC="SKIP_C_TESTS=1";;
33
echo "============ make check ${ra}+${fs}"
35
make ${check} FS_TYPE=${fs} PARALLEL=${SVNBB_PARALLEL} CLEANUP=1 ${skipC} || ok=false
37
# Move any log files to the buildbot work directory
38
test -f tests.log && mv tests.log "${abssrc}/.test-logs/tests-${ra}-${fs}.log"
39
test -f fails.log && mv fails.log "${abssrc}/.test-logs/fails-${ra}-${fs}.log"
41
# Remove the test working directory to make space on the RAM disk
43
rm -fr subversion/tests/cmdline/svn-test-work
51
${check_fsfs} && run_tests ${ra} fsfs
52
${check_fsfs_v6} && run_tests ${ra} fsfs-v6
53
${check_fsfs_v4} && run_tests ${ra} fsfs-v4
54
${check_bdb} && run_tests ${ra} bdb
55
${check_fsx} && run_tests ${ra} fsx
61
scripts=$(cd $(dirname "$0") && pwd)
63
. ${scripts}/setenv.sh
65
# Parse arguments to find out which tests we should run
75
while [ ! -z "$1" ]; do
77
local) check_local=true;;
80
fsfs) check_fsfs=true;;
81
fsfs-v6) check_fsfs_v6=true;;
82
fsfs-v4) check_fsfs_v4=true;;
90
${check_local} && check_tests local
91
${check_svn} && check_tests svn
92
${check_dav} && check_tests dav