Check-in [6a3474d699]
Overview
Comment:Added Threads test
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6a3474d699a9e7bc8646321e5d356a192c804b49
User & Date: rkeene on 2010-10-04 04:52:16
Other Links: manifest | tags
Context
2010-10-04
04:53
Added comments to Threads test check-in: 15bb35cd1b user: rkeene tags: trunk
04:52
Added Threads test check-in: 6a3474d699 user: rkeene tags: trunk
04:23
Fixed some KitDLL tests to correctly build

Added more KitDLL test cases

Fixed issue with test publisher not dealing with the new files in the kits directory check-in: 9374941c5a user: rkeene tags: trunk

Changes

Added build/test/tests/12-threads.tcl version [9a811a5937].


























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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#! /usr/bin/env tclsh

set buildflags [split [lindex $argv 1] -]

if {$tcl_version == "8.6"} {
	if {[lsearch -exact $buildflags "unthreaded"] == -1} {
		set isthreaded 1
	} else {
		set isthreaded 0
	}
} else {
	if {[lsearch -exact $buildflags "threaded"] == -1} {
		set isthreaded 0
	} else {
		set isthreaded 1
	}
}

if {!$isthreaded} {
	exit 0
}

package require Thread

exit 0