Check-in [fb120151ec]
Overview
SHA1:fb120151ec25fc2485cbf54ce0c8940d99a8419e
Date: 2011-05-21 16:04:08
User: rkeene
Comment:Updated to only look at the trunk for the change UUID
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2011-05-26
16:28
[ad3a66af0b] Merged in branch "merge-kitdll-kitsh-common" to trunk (user: rkeene, tags: trunk)
2011-05-21
16:04
[fb120151ec] Updated to only look at the trunk for the change UUID (user: rkeene, tags: trunk)
13:57
[b00d829cca] Updated to use FOSSIL_CHANGE as UUID for download, to prevent potential race condition (user: rkeene, tags: trunk)
Changes

Modified build/test/do-nightly-tests-and-publish from [02642024b3] to [d2dcdb02e1].

7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Define build and web paths
KITCREATORFOSSIL="/web/customers/kitcreator.rkeene.org/repo/kitcreator.repo"
WEBROOTDIR="/web/rkeene/devel/kitcreator/kitbuild"
MARKERFILE="/web/customers/kitcreator.rkeene.org/repo/__AUTO_TESTS_RUNNING__"
TMPWORKDIR="${TMPDIR:-/var/tmp}/kitcreator-test-$$${RANDOM}${RANDOM}${RANDOM}"
export KITCREATORFOSSIL WEBROOTDIR MARKERFILE TMPWORKDIR

# Determine change of fossil revision
FOSSIL_CHANGE="$(fossil timeline --repository "${KITCREATORFOSSIL}" -n 1 -t ci | grep '^[0-9:]* \[' | sed 's@^[0-9:]* \[\([0-9a-f]*\)\].*$@\1@')"
TESTNAME="fossil_${FOSSIL_CHANGE}"
export FOSSIL_CHANGE TESTNAME

# Verify sanity
issane=1
if [ -z "${FOSSIL_CHANGE}" ]; then
	echo "Unable to determine name of latest revision, likely missing Kitcreator Fossil Repo: ${KITCREATORFOSSIL}" >&2







|
|







7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Define build and web paths
KITCREATORFOSSIL="/web/customers/kitcreator.rkeene.org/repo/kitcreator.repo"
WEBROOTDIR="/web/rkeene/devel/kitcreator/kitbuild"
MARKERFILE="/web/customers/kitcreator.rkeene.org/repo/__AUTO_TESTS_RUNNING__"
TMPWORKDIR="${TMPDIR:-/var/tmp}/kitcreator-test-$$${RANDOM}${RANDOM}${RANDOM}"
export KITCREATORFOSSIL WEBROOTDIR MARKERFILE TMPWORKDIR

# Determine change of fossil revision on trunk
FOSSIL_CHANGE="$(fossil timeline --repository "${KITCREATORFOSSIL}" children trunk -n 1 -t ci | grep '^[0-9:]* \[' | sed 's@^[0-9:]* \[\([0-9a-f]*\)\].*$@\1@')"
TESTNAME="fossil_${FOSSIL_CHANGE}"
export FOSSIL_CHANGE TESTNAME

# Verify sanity
issane=1
if [ -z "${FOSSIL_CHANGE}" ]; then
	echo "Unable to determine name of latest revision, likely missing Kitcreator Fossil Repo: ${KITCREATORFOSSIL}" >&2