diff options
author | jenn <jenn> | 1999-10-19 18:08:35 (GMT) |
---|---|---|
committer | jenn <jenn> | 1999-10-19 18:08:35 (GMT) |
commit | 6a4211168cd8e6e5bc8214bc4e2b4ac75f6fd977 (patch) | |
tree | 69cab503a9d184acbb3fc80f69ff7bee4f2d7038 /tests/unixNotfy.test | |
parent | 92548c63db304c75eac148990b77793351783c2c (diff) | |
download | tcl-6a4211168cd8e6e5bc8214bc4e2b4ac75f6fd977.zip tcl-6a4211168cd8e6e5bc8214bc4e2b4ac75f6fd977.tar.gz tcl-6a4211168cd8e6e5bc8214bc4e2b4ac75f6fd977.tar.bz2 |
* tests/tcltest.test:
* doc/tcltest.n:
* library/tcltest1.0/tcltest.tcl: Removed the extra return at the
end of the tcltest.tcl file.
Applied patches sent in by Andreas Kupries to add helper procs for
debug output, add 3 new flags (-testsdir, -load, -loadfile), and
internally refactors common code for dealing with paths into
separate procedures. [Bug: 2838, 2842]
Diffstat (limited to 'tests/unixNotfy.test')
-rw-r--r-- | tests/unixNotfy.test | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/unixNotfy.test b/tests/unixNotfy.test index ac0f169..2552d2a 100644 --- a/tests/unixNotfy.test +++ b/tests/unixNotfy.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: unixNotfy.test,v 1.7 1999/07/01 17:36:20 jenn Exp $ +# RCS: @(#) $Id: unixNotfy.test,v 1.8 1999/10/19 18:08:44 jenn Exp $ # The tests should not be run if you have a notifier which is unable to # detect infinite vwaits, as the tests below will hang. The presence of @@ -21,6 +21,12 @@ if {[lsearch [namespace children] ::tcltest] == -1} { namespace import ::tcltest::* } +if {[info exists tk_version]} { + puts "When run in a Tk shell, these tests run hang. Skipping tests ..." + ::tcltest::cleanupTests + return +} + set ::tcltest::testConstraints(testthread) \ [expr {[info commands testthread] != {}}] |