summaryrefslogtreecommitdiffstats
path: root/tests/focus.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/focus.test')
-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