diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-01-03 16:59:39 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-01-03 16:59:39 (GMT) |
commit | 647e9b1a5bcfafcb6c4545e2e4fb43cf93ef1ef6 (patch) | |
tree | 50a89ee846e1d9c62f15ddb6e3cd4f11f4f03f0f /tls/tests/all.tcl | |
parent | 5e1dd715a2321e1e8a756f70b7b0a488b1e55bb9 (diff) | |
download | blt-647e9b1a5bcfafcb6c4545e2e4fb43cf93ef1ef6.zip blt-647e9b1a5bcfafcb6c4545e2e4fb43cf93ef1ef6.tar.gz blt-647e9b1a5bcfafcb6c4545e2e4fb43cf93ef1ef6.tar.bz2 |
update TEA 3.13
Diffstat (limited to 'tls/tests/all.tcl')
-rw-r--r-- | tls/tests/all.tcl | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/tls/tests/all.tcl b/tls/tests/all.tcl deleted file mode 100644 index aeb37a8..0000000 --- a/tls/tests/all.tcl +++ /dev/null @@ -1,56 +0,0 @@ -# all.tcl -- -# -# This file contains a top-level script to run all of the Tcl -# tests. Execute it by invoking "source all.test" when running tcltest -# in this directory. -# -# Copyright (c) 1998-2000 by Ajuba Solutions. -# All rights reserved. -# -# RCS: @(#) $Id: all.tcl,v 1.5 2000/08/15 18:45:01 hobbs Exp $ - -if {[lsearch [namespace children] ::tcltest] == -1} { - package require tcltest - namespace import ::tcltest::* -} - -set ::tcltest::testSingleFile false -set ::tcltest::testsDirectory [file dir [info script]] - -# We should ensure that the testsDirectory is absolute. -# This was introduced in Tcl 8.3+'s tcltest, so we need a catch. -catch {::tcltest::normalizePath ::tcltest::testsDirectory} - -puts stdout "Tests running in interp: [info nameofexecutable]" -puts stdout "Tests running in working dir: $::tcltest::testsDirectory" -if {[llength $::tcltest::skip] > 0} { - puts stdout "Skipping tests that match: $::tcltest::skip" -} -if {[llength $::tcltest::match] > 0} { - puts stdout "Only running tests that match: $::tcltest::match" -} - -if {[llength $::tcltest::skipFiles] > 0} { - puts stdout "Skipping test files that match: $::tcltest::skipFiles" -} -if {[llength $::tcltest::matchFiles] > 0} { - puts stdout "Only sourcing test files that match: $::tcltest::matchFiles" -} - -set timeCmd {clock format [clock seconds]} -puts stdout "Tests began at [eval $timeCmd]" - -# source each of the specified tests -foreach file [lsort [::tcltest::getMatchingFiles]] { - set tail [file tail $file] - puts stdout $tail - if {[catch {source $file} msg]} { - puts stdout $msg - } -} - -# cleanup -puts stdout "\nTests ended at [eval $timeCmd]" -::tcltest::cleanupTests 1 -return - |