summaryrefslogtreecommitdiffstats
path: root/tests/window.test
diff options
context:
space:
mode:
authorhershey <hershey>1998-08-12 16:08:58 (GMT)
committerhershey <hershey>1998-08-12 16:08:58 (GMT)
commit14ae604f53197524a4fb176d16d9fad3dd23221a (patch)
treeb2c3c6ae1cf23fa7fa007866ae181613ccc93458 /tests/window.test
parenta7263c7d2a1a06ab935e508f700e01ee3e61b6b9 (diff)
downloadtk-14ae604f53197524a4fb176d16d9fad3dd23221a.zip
tk-14ae604f53197524a4fb176d16d9fad3dd23221a.tar.gz
tk-14ae604f53197524a4fb176d16d9fad3dd23221a.tar.bz2
skips tests that require tktest executable
Diffstat (limited to 'tests/window.test')
-rw-r--r--tests/window.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/window.test b/tests/window.test
index aaa29c0..8706103 100644
--- a/tests/window.test
+++ b/tests/window.test
@@ -80,6 +80,12 @@ test window-2.3 {Tk_DestroyWindow procedure, destroy handler deletes parent} {
destroy .f
} {}
+if {[string compare testmenubar [info commands testmenubar]] != 0} {
+ puts "This application hasn't been compiled with the testmenubar command,"
+ puts "therefore I am skipping all of these tests."
+ return
+}
+
test window-3.1 {Tk_MakeWindowExist procedure, stacking order and menubars} unixOnly {
catch {destroy .t}
toplevel .t -width 300 -height 200