Check-in [7ce18d465b]
Overview
Comment:Updated to require version argument to publish-tests script
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:7ce18d465ba334ffe1fe8663073a337a2ba627e3
User & Date: rkeene on 2010-09-26 04:47:20
Other Links: manifest | tags
Context
2010-09-26
04:47
Updated to list failed builds in published reports check-in: f8d3a24687 user: rkeene tags: trunk
04:47
Updated to require version argument to publish-tests script check-in: 7ce18d465b user: rkeene tags: trunk
04:47
Updated to publish tests into an optional sub-directory check-in: 3887ad80a5 user: rkeene tags: trunk
Changes

Modified build/test/publish-tests from [3569e23d32] to [1084c25e06].

     1      1   #! /usr/bin/env tclsh
     2      2   
     3      3   package require Tcl 8.5
     4      4   
     5      5   set WEBDIR "/web/rkeene/devel/kitcreator/kitbuild"
     6         -if {[llength $argv] == 1} {
     7         -	# If a single argument is given, put results in that sub-directory
     8         -	set WEBDIR [file join $WEBDIR [lindex $argv 0]]
            6  +
            7  +if {[llength $argv] != 1} {
            8  +	puts stderr "Usage: publish-tests <version>"
            9  +
           10  +	exit 1
           11  +}
           12  +
           13  +set kitcreator_vers [lindex $argv 0]
           14  +
           15  +if {$kitcreator_vers == ""} {
           16  +	puts stderr "Invalid version: \"$kitcreator_vers\""
           17  +
           18  +	exit 1
     9     19   }
           20  +
           21  +set WEBDIR [file join $WEBDIR $kitcreator_vers]
    10     22   
    11     23   if {![file isdir "kits"]} {
    12     24   	puts stderr "Could not find kits/ directory, aborting."
    13     25   
    14     26           exit 1
    15     27   }
    16     28