Diff

Differences From Artifact [bd33ba58ca]:

To Artifact [277f3b565d]:


12
13
14
15
16
17
18






19
20
21
22
23
24

25
26
27
28
29
30


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
./test >/dev/null 2>/dev/null

# Clean old SVN published results
rm -rf "${WEBROOTDIR}"/svn_r*/

# Publish New Results
./publish-tests "${TESTNAME}"

exit 0