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
2
3
4
5

6

7



8
9







10
11
12
13
14
15
16
#! /usr/bin/env tclsh

package require Tcl 8.5

set WEBDIR "/web/rkeene/devel/kitcreator/kitbuild"

if {[llength $argv] == 1} {

	# If a single argument is given, put results in that sub-directory



	set WEBDIR [file join $WEBDIR [lindex $argv 0]]
}








if {![file isdir "kits"]} {
	puts stderr "Could not find kits/ directory, aborting."

        exit 1
}






>
|
>
|
>
>
>
|
|
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /usr/bin/env tclsh

package require Tcl 8.5

set WEBDIR "/web/rkeene/devel/kitcreator/kitbuild"

if {[llength $argv] != 1} {
	puts stderr "Usage: publish-tests <version>"

	exit 1
}

set kitcreator_vers [lindex $argv 0]

if {$kitcreator_vers == ""} {
	puts stderr "Invalid version: \"$kitcreator_vers\""

	exit 1
}

set WEBDIR [file join $WEBDIR $kitcreator_vers]

if {![file isdir "kits"]} {
	puts stderr "Could not find kits/ directory, aborting."

        exit 1
}