summaryrefslogtreecommitdiffstats
path: root/tests/bind.test
diff options
context:
space:
mode:
authorhershey <hershey>1998-08-12 15:34:51 (GMT)
committerhershey <hershey>1998-08-12 15:34:51 (GMT)
commita67007bd0d83ef16a042e3f0a85ec671bd862591 (patch)
tree5369d6608f3609b5af3066c9c86a4fb612f6bea6 /tests/bind.test
parentc572a8fbd40ca2fd22954c34b44d1f4d63e0d752 (diff)
downloadtk-a67007bd0d83ef16a042e3f0a85ec671bd862591.zip
tk-a67007bd0d83ef16a042e3f0a85ec671bd862591.tar.gz
tk-a67007bd0d83ef16a042e3f0a85ec671bd862591.tar.bz2
returns if testcbind is not defined
Diffstat (limited to 'tests/bind.test')
-rw-r--r--tests/bind.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/bind.test b/tests/bind.test
index 18de465..f03a95d 100644
--- a/tests/bind.test
+++ b/tests/bind.test
@@ -216,6 +216,12 @@ test bind-5.1 {Tk_CreateBindingTable procedure} {
} {}
+if {[string compare testcbind [info commands testcbind]] != 0} {
+ puts "This application hasn't been compiled with the testcbind command,"
+ puts "therefore I am skipping all of these tests."
+ return
+}
+
test bind-6.1 {Tk_DeleteBindTable procedure} {
catch {destroy .b.c}
canvas .b.c