summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorhershey <hershey@noemail.net>1998-08-12 15:35:08 (GMT)
committerhershey <hershey@noemail.net>1998-08-12 15:35:08 (GMT)
commitc6256b2656624842074560fa78186e346ff2bc44 (patch)
tree18b368e2e6ee56104b179ac9fc75202f288d1755 /tests
parent050751ce8da27000c7cb1ddad48e43c3c2d2d5ed (diff)
downloadtk-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.test6
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