Check-in [5ea4130975]
Overview
Comment:Fixed path in nightly build script
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5ea4130975c02b37b7ee3e8fc576daca3e12e0d6
User & Date: rkeene on 2010-09-27 15:29:02
Other Links: manifest | tags
Context
2010-09-27
22:17
Updated to only consider checkins for change revision check-in: 8f84374b32 user: rkeene tags: trunk
15:29
Fixed path in nightly build script check-in: 5ea4130975 user: rkeene tags: trunk
2010-09-26
22:52
Updated logo, again check-in: a0a0e8ad2c user: rkeene tags: trunk
Changes

Modified build/test/do-nightly-tests-and-publish from [8a8ae4ef30] to [2571c6663c].

1
2
3
4

5
6
7
8
9
10
11
12
13
14
15
16



17
18
19
20
21
22
23
1
2
3

4
5
6
7
8
9
10
11
12
13



14
15
16
17
18
19
20
21
22
23



-
+









-
-
-
+
+
+







#! /bin/bash

# Update PATH to include path to Tclkit, otherwise cross-compiles will fail
PATH="${PATH}:/home/rkeene/bin"
PATH="${PATH}:/home/rkeene/bin:/usr/local/bin"
export PATH

# Define build and web paths
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
FOSSIL_CHANGE="$(fossil timeline -n 1 | grep '^[0-9:]* \[' | sed 's@^[0-9:]* \[\([0-9a-f]*\)\].*$@\1@')"
TESTNAME="fossil_${FOSSIL_CHANGE}"
export FOSSIL_CHANGE TESTNAME

if [ -d "${WEBROOTDIR}/${TESTNAME}" ]; then
	# Don't re-run the tests if nothing has changed
	exit 0
fi

cd build/test || exit 1
36
37
38
39
40
41
42
43
44


45
46
47
48
49
50
51
52
36
37
38
39
40
41
42


43
44
45
46
47
48
49
50
51
52







-
-
+
+









# 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*/
# Clean old auto-generated published results
rm -rf "${WEBROOTDIR}"/svn_r*/ "${WEBROOTDIR}"/fossil_*/

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

# Clean
rm -f '__AUTO_TESTS_RUNNING__'

exit 0