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 +#! /usr/bin/env tclsh 2 + 3 +set buildflags [split [lindex $argv 1] -] 4 + 5 +if {$tcl_version == "8.6"} { 6 + if {[lsearch -exact $buildflags "unthreaded"] == -1} { 7 + set isthreaded 1 8 + } else { 9 + set isthreaded 0 10 + } 11 +} else { 12 + if {[lsearch -exact $buildflags "threaded"] == -1} { 13 + set isthreaded 0 14 + } else { 15 + set isthreaded 1 16 + } 17 +} 18 + 19 +if {!$isthreaded} { 20 + exit 0 21 +} 22 + 23 +package require Thread 24 + 25 +exit 0