diff options
author | hershey <hershey> | 1998-08-12 15:35:09 (GMT) |
---|---|---|
committer | hershey <hershey> | 1998-08-12 15:35:09 (GMT) |
commit | 47e354c057a23b44bdb4492bd502e6974d1d70b2 (patch) | |
tree | 18b368e2e6ee56104b179ac9fc75202f288d1755 /tests | |
parent | a67007bd0d83ef16a042e3f0a85ec671bd862591 (diff) | |
download | tk-47e354c057a23b44bdb4492bd502e6974d1d70b2.zip tk-47e354c057a23b44bdb4492bd502e6974d1d70b2.tar.gz tk-47e354c057a23b44bdb4492bd502e6974d1d70b2.tar.bz2 |
returns if testwrapper is not defined
Diffstat (limited to 'tests')
-rw-r--r-- | tests/focus.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/focus.test b/tests/focus.test index 4aa4da3..500a46c 100644 --- a/tests/focus.test +++ b/tests/focus.test @@ -198,6 +198,12 @@ test focus-1.25 {Tk_FocusCmd procedure} { list [catch {focus -unknown} msg] $msg } {1 {bad option "-unknown": must be -displayof, -force, or -lastfor}} +if {[string compare testwrapper [info commands testwrapper]] != 0} { + puts "This application hasn't been compiled with the testwrapper command," + puts "therefore I am skipping all of these tests." + return +} + test focus-2.1 {TkFocusFilterEvent procedure} {nonPortable} { focus -force .b destroy .t |