summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorhershey <hershey>1998-08-12 15:35:16 (GMT)
committerhershey <hershey>1998-08-12 15:35:16 (GMT)
commitc6d2ead0c896565c09093d8f7eda591a3ffb1d75 (patch)
treeace04f3af23c4b4b0d24a38e674de3c418175e30 /tests
parent47e354c057a23b44bdb4492bd502e6974d1d70b2 (diff)
downloadtk-c6d2ead0c896565c09093d8f7eda591a3ffb1d75.zip
tk-c6d2ead0c896565c09093d8f7eda591a3ffb1d75.tar.gz
tk-c6d2ead0c896565c09093d8f7eda591a3ffb1d75.tar.bz2
returns if testwrapper is not defined
Diffstat (limited to 'tests')
-rw-r--r--tests/id.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/id.test b/tests/id.test
index 2589d48..31249da 100644
--- a/tests/id.test
+++ b/tests/id.test
@@ -13,6 +13,12 @@ if {[info procs test] != "test"} {
source defs
}
+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
+}
+
foreach i [winfo children .] {
destroy $i
}