Check-in [3df6039232]
Overview
Comment:Added scripts to do nightly tests on Subversion and publish results
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:3df6039232b0acebded9a9f7cc5a02efd4c2edfa
User & Date: rkeene on 2010-09-26 04:48:04
Other Links: manifest | tags
Context
2010-09-26
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
04:48
Reduced change in Native ZLIB support patch check-in: f043a10e60 user: rkeene tags: trunk
Changes

Added build/test/do-nightly-tests-and-publish version [bd33ba58ca].





























































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#! /bin/bash

KITCREATORDIR="/home/rkeene/devel/kitcreator"
WEBROOTDIR="/web/rkeene/devel/kitcreator/kitbuild"
export KITCREATORDIR WEBROOTDIR

cd "${KITCREATORDIR}" || exit 1

SVN_LCR="$(svn info -R . | grep '^Last Changed Rev:' | sed 's@^.*:  *@@' | sort -n | tail -1)"
TESTNAME="svn_r${SVN_LCR}"
export SVN_LCR TESTNAME

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}"