Check-in [ad21154bd8]
Overview
SHA1:ad21154bd8e6aba92f70df339604fa4e84447423
Date: 2010-10-12 01:49:42
User: rkeene
Comment:Updated to allow force rebuilds of nightly tests
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2010-10-12
15:56
[4f2db7cae0] Added patch for Tcl 8.4.19 to compile with newer versions of GCC (user: rkeene, tags: trunk)
01:49
[ad21154bd8] Updated to allow force rebuilds of nightly tests (user: rkeene, tags: trunk)
2010-10-08
15:18
[fb713458b7] Updated LICENSE with KitDLL files copied from KitSH (user: rkeene, tags: trunk)
Changes

Modified build/test/do-nightly-tests-and-publish from [077e641ed0] to [0b292f2a4f].

13
14
15
16
17
18
19



20

21
22
23
24
25
26
27

FOSSIL_CHANGE="$(fossil timeline -n 1 -t ci | 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

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








>
>
>
|
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

FOSSIL_CHANGE="$(fossil timeline -n 1 -t ci | 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
	if [ -f "${KITCREATORDIR}/build/test/force_nightly" ]; then
		rm -f "${KITCREATORDIR}/build/test/force_nightly"
	else
		exit 0
	fi
fi

cd build/test || exit 1

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