Import Tcl 8.6.10
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
|
||||
package require tcltest 2
|
||||
package require tcltests
|
||||
|
||||
namespace eval ::tcl::test::platform {
|
||||
namespace import ::tcltest::testConstraint
|
||||
@@ -67,7 +68,10 @@ test platform-3.1 {CPU ID on Windows/UNIX} \
|
||||
# format of string it produces consists of two non-empty words separated by a
|
||||
# hyphen.
|
||||
package require platform
|
||||
test platform-4.1 {format of platform::identify result} -match regexp -body {
|
||||
test platform-4.1 {format of platform::identify result} -constraints notValgrind -match regexp -body {
|
||||
# [identify] may attempt to [exec] dpkg-architecture, which may not exist,
|
||||
# in which case fork will not be followed by exec, and valgrind will issue
|
||||
# "still reachable" reports.
|
||||
platform::identify
|
||||
} -result {^([^-]+-)+[^-]+$}
|
||||
test platform-4.2 {format of platform::generic result} -match regexp -body {
|
||||
|
||||
Reference in New Issue
Block a user