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  +#! /bin/bash
            2  +
            3  +KITCREATORDIR="/home/rkeene/devel/kitcreator"
            4  +WEBROOTDIR="/web/rkeene/devel/kitcreator/kitbuild"
            5  +export KITCREATORDIR WEBROOTDIR
            6  +
            7  +cd "${KITCREATORDIR}" || exit 1
            8  +
            9  +SVN_LCR="$(svn info -R . | grep '^Last Changed Rev:' | sed 's@^.*:  *@@' | sort -n | tail -1)"
           10  +TESTNAME="svn_r${SVN_LCR}"
           11  +export SVN_LCR TESTNAME
           12  +
           13  +if [ -d "${WEBROOTDIR}/${TESTNAME}" ]; then
           14  +	# Don't re-run the tests if nothing has changed
           15  +	exit 0
           16  +fi
           17  +
           18  +cd build/test || exit 1
           19  +
           20  +# Clean builds
           21  +rm -rf kits
           22  +
           23  +# Run tests
           24  +./test
           25  +
           26  +# Clean old SVN published results
           27  +rm -rf "${WEBROOTDIR}"/svn_r*/
           28  +
           29  +# Publish New Results
           30  +./publish-tests "${TESTNAME}"