Check-in [6a3474d699]
Overview
SHA1:6a3474d699a9e7bc8646321e5d356a192c804b49
Date: 2010-10-04 04:52:16
User: rkeene
Comment:Added Threads test
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2010-10-04
04:53
[15bb35cd1b] Added comments to Threads test (user: rkeene, tags: trunk)
04:52
[6a3474d699] Added Threads test (user: rkeene, tags: trunk)
04:23
[9374941c5a] 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 (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