Diff

Differences From Artifact [044e3f13f1]:

To Artifact [50f53a7092]:


24
25
26
27
28
29
30






31
32
33
34
35
36
37
38
39
40
41
42



43
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52







+
+
+
+
+
+












+
+
+


if [ ! -x kits -o ! -x publish-tests ]; then
	echo 'Missing scripts, aborting.' >&2

	exit 1
fi

# Only run one at a time
if [ -f '__AUTO_TESTS_RUNNING__' ]; then
	exit 1
fi
touch '__AUTO_TESTS_RUNNING__'

# Clean builds
rm -rf kits

# Run tests
nice -n 20 ./test >/dev/null 2>/dev/null

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

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

# Clean
rm -f '__AUTO_TESTS_RUNNING__'

exit 0