Check-in [ede5eb67b8]
Overview
Comment:Updated to emit error message and abort if tests are unable to be run
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:ede5eb67b8cc255f0836888faef4b822bcb88a23
User & Date: rkeene on 2010-09-26 04:48:10
Other Links: manifest | tags
Context
2010-09-26
04:48
Updated tests results page: Added legend Added header row for entire set Added new results "USABLE" and "NO TESTS" check-in: e1afa41765 user: rkeene tags: trunk
04:48
Updated to emit error message and abort if tests are unable to be run check-in: ede5eb67b8 user: rkeene tags: trunk
04:48
Added scripts to do nightly tests on Subversion and publish results check-in: 3df6039232 user: rkeene tags: trunk
Changes

Modified build/test/do-nightly-tests-and-publish from [bd33ba58ca] to [277f3b565d].

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