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      1   #! /bin/bash
     2      2   
     3      3   # Update PATH to include path to Tclkit, otherwise cross-compiles will fail
     4         -PATH="${PATH}:/home/rkeene/bin"
            4  +PATH="${PATH}:/home/rkeene/bin:/usr/local/bin"
     5      5   export PATH
     6      6   
     7      7   # Define build and web paths
     8      8   KITCREATORDIR="/home/rkeene/devel/kitcreator"
     9      9   WEBROOTDIR="/web/rkeene/devel/kitcreator/kitbuild"
    10     10   export KITCREATORDIR WEBROOTDIR
    11     11   
    12     12   cd "${KITCREATORDIR}" || exit 1
    13     13   
    14         -SVN_LCR="$(svn info -R . | grep '^Last Changed Rev:' | sed 's@^.*:  *@@' | sort -n | tail -1)"
    15         -TESTNAME="svn_r${SVN_LCR}"
    16         -export SVN_LCR TESTNAME
           14  +FOSSIL_CHANGE="$(fossil timeline -n 1 | grep '^[0-9:]* \[' | sed 's@^[0-9:]* \[\([0-9a-f]*\)\].*$@\1@')"
           15  +TESTNAME="fossil_${FOSSIL_CHANGE}"
           16  +export FOSSIL_CHANGE TESTNAME
    17     17   
    18     18   if [ -d "${WEBROOTDIR}/${TESTNAME}" ]; then
    19     19   	# Don't re-run the tests if nothing has changed
    20     20   	exit 0
    21     21   fi
    22     22   
    23     23   cd build/test || exit 1
................................................................................
    36     36   
    37     37   # Clean builds
    38     38   rm -rf kits
    39     39   
    40     40   # Run tests
    41     41   nice -n 20 ./test >/dev/null 2>/dev/null
    42     42   
    43         -# Clean old SVN published results
    44         -rm -rf "${WEBROOTDIR}"/svn_r*/
           43  +# Clean old auto-generated published results
           44  +rm -rf "${WEBROOTDIR}"/svn_r*/ "${WEBROOTDIR}"/fossil_*/
    45     45   
    46     46   # Publish New Results
    47     47   ./publish-tests "${TESTNAME}"
    48     48   
    49     49   # Clean
    50     50   rm -f '__AUTO_TESTS_RUNNING__'
    51     51   
    52     52   exit 0