#!/bin/sh
# Run this from the top of your (already installed) Subversion source tree.
# Note: httpd and svnserve must be running already!
RESULTS_DIR=svn-checks-`date +"%Y-%M-%d_%H:%m"`
mkdir ${RESULTS_DIR}
for FS_BACKEND in fsfs bdb; do
for RA_LAYER in svn http local; do
echo "Testing ${FS_BACKEND} over ${RA_LAYER}..."
if [ ${RA_LAYER} = local ]; then
make check CLEANUP=true FS_TYPE=${FS_BACKEND}
else
make check CLEANUP=true BASE_URL=${RA_LAYER}://localhost \
FS_TYPE=${FS_BACKEND}
fi
mv tests.log ${RESULTS_DIR}/${FS_BACKEND}-${RA_LAYER}-tests.log
echo "Done testing ${FS_BACKEND} over ${RA_LAYER}."
echo "Results in ${RESULTS_DIR}/${FS_BACKEND}-${RA_LAYER}-tests.log."
echo ""
done
done
echo "All 'make check' combinations completed."