Follow-up to r29036: Now that the "mergeinfo" transaction file is no
[svn.git] / tools / dist / test.sh
blob17f6b20a981a7bfbfbc03d9b49b25fc08fdb866b
1 #!/bin/sh
2 set -e
4 [ -e $HOME/.svndistrc ] && . $HOME/.svndistrc
6 set -x
8 [ ! -e Makefile ] && ./configure $TEST_CONFIGURE_OPTIONS
9 make
10 make swig-py
11 make swig-pl
12 make swig-rb
14 make check-swig-py 2>&1 | tee tests-py.log
15 make check-swig-pl 2>&1 | tee tests-pl.log
16 make check-swig-rb SWIG_RB_TEST_VERBOSE=verbose 2>&1 | tee tests-rb.log
18 TEST_DIR=`pwd`/subversion/tests/cmdline/svn-test-work
19 rm -rf "$TEST_DIR"
20 mkdir "$TEST_DIR"
21 sudo umount "$TEST_DIR" || true
22 sudo mount -t tmpfs tmpfs "$TEST_DIR" -o uid=`id -u`,mode=700,size=32M
24 time make check CLEANUP=1 FS_TYPE=fsfs
25 mv tests.log tests-local-fsfs.log
26 time make check CLEANUP=1 FS_TYPE=bdb
27 mv tests.log tests-local-bdb.log
29 ./subversion/svnserve/svnserve -d -r `pwd`/subversion/tests/cmdline \
30 --listen-host 127.0.0.1 --listen-port 33690
31 time make check CLEANUP=1 FS_TYPE=fsfs BASE_URL=svn://localhost:33690
32 mv tests.log tests-svn-fsfs.log
33 time make check CLEANUP=1 FS_TYPE=bdb BASE_URL=svn://localhost:33690
34 mv tests.log tests-svn-bdb.log
35 pkill lt-svnserve
37 time CLEANUP=1 FS_TYPE=fsfs ./subversion/tests/cmdline/davautocheck.sh
38 mv tests.log tests-dav-fsfs.log
39 time CLEANUP=1 FS_TYPE=bdb ./subversion/tests/cmdline/davautocheck.sh
40 mv tests.log tests-dav-bdb.log
42 sudo umount "$TEST_DIR"