From a7263c7d2a1a06ab935e508f700e01ee3e61b6b9 Mon Sep 17 00:00:00 2001 From: hershey Date: Wed, 12 Aug 1998 16:08:37 +0000 Subject: skips tests that require tktest executable --- tests/unixEmbed.test | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v0.12