summaryrefslogtreecommitdiffstats
path: root/tests/clipboard.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-11-25 17:11:18 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-11-25 17:11:18 (GMT)
commit575f880d6c5ae5e2ea506c902f8142eb89fb11a7 (patch)
tree4ca84665f6c205578bfa6ce0c0da51bd38eea8c1 /tests/clipboard.test
parentf01896320037c0a2bf7a60755f4369475faca70c (diff)
parent9730f29caeec0d5c0dc5baa67bfa713c9f3bfe5b (diff)
downloadtk-575f880d6c5ae5e2ea506c902f8142eb89fb11a7.zip
tk-575f880d6c5ae5e2ea506c902f8142eb89fb11a7.tar.gz
tk-575f880d6c5ae5e2ea506c902f8142eb89fb11a7.tar.bz2
Fix [9b0f3ee54e]: Make the error message more specific when OpenClipboard fails (on Windows), and tell the user that another application grabbed the clipboard. This will help identification of false tests failures, specifically some winClipboard tests fail when a VNC viewer is open.
Diffstat (limited to 'tests/clipboard.test')
-rw-r--r--tests/clipboard.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/clipboard.test b/tests/clipboard.test
index 513517d..81534d5 100644
--- a/tests/clipboard.test
+++ b/tests/clipboard.test
@@ -11,6 +11,11 @@
# environment variable TK_ALT_DISPLAY is set to an alternate display.
#
+#################################################################
+# Note that some of these tests may fail if another application #
+# is grabbing the clipboard (e.g. an X server, or a VNC viewer) #
+#################################################################
+
package require tcltest 2.2
namespace import ::tcltest::*
eval tcltest::configure $argv