12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
if [ -d "${WEBROOTDIR}/${TESTNAME}" ]; then
# Don't re-run the tests if nothing has changed
exit 0
fi
cd build/test || exit 1
# Clean builds
rm -rf kits
# Run tests
./test
# Clean old SVN published results
rm -rf "${WEBROOTDIR}"/svn_r*/
# Publish New Results
./publish-tests "${TESTNAME}"
|
>
>
>
>
>
>
|
>
>
|
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
if [ -d "${WEBROOTDIR}/${TESTNAME}" ]; then
# Don't re-run the tests if nothing has changed
exit 0
fi
cd build/test || exit 1
if [ ! -x kits -o ! -x publish-tests ]; then
echo 'Missing scripts, aborting.' >&2
exit 1
fi
# Clean builds
rm -rf kits
# Run tests
./test >/dev/null 2>/dev/null
# Clean old SVN published results
rm -rf "${WEBROOTDIR}"/svn_r*/
# Publish New Results
./publish-tests "${TESTNAME}"
exit 0
|