diff options
author | hershey <hershey@noemail.net> | 1998-08-12 15:35:08 (GMT) |
---|---|---|
committer | hershey <hershey@noemail.net> | 1998-08-12 15:35:08 (GMT) |
commit | c6256b2656624842074560fa78186e346ff2bc44 (patch) | |
tree | 18b368e2e6ee56104b179ac9fc75202f288d1755 /tests | |
parent | 050751ce8da27000c7cb1ddad48e43c3c2d2d5ed (diff) | |
download | tk-c6256b2656624842074560fa78186e346ff2bc44.zip tk-c6256b2656624842074560fa78186e346ff2bc44.tar.gz tk-c6256b2656624842074560fa78186e346ff2bc44.tar.bz2 |
returns if testwrapper is not defined
FossilOrigin-Name: 7e6135a8cee791d103b0d5a5579d8ed71c49526e
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 |