summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/unixEmbed.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/unixEmbed.test b/tests/unixEmbed.test
index ef8ecb9..ee7baa6 100644
--- a/tests/unixEmbed.test
+++ b/tests/unixEmbed.test
@@ -96,6 +96,13 @@ test unixEmbed-1.4 {TkpUseWindow procedure, inheriting colormap} {
destroy .t
set result
} {1}
+
+if {[string compare testembed [info commands testembed]] != 0} {
+ puts "This application hasn't been compiled with the testembed command,"
+ puts "therefore I am skipping all of these tests."
+ return
+}
+
test unixEmbed-1.5 {TkpUseWindow procedure, creating Container records} {
eval destroy [winfo child .]
frame .f1 -container 1 -width 200 -height 50