Tk Source Code

Check-in [7b6bf3cb]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Ditto for clipboard-6.2. Don't run this test on macOS, only on x11. This test checks X selection mechanisms that are only present on x11, not on unix aqua.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | bug-1475156fff
Files: files | file ages | folders
SHA3-256:7b6bf3cbc7edeaba9d963485ff30ba2d1d034cc37bdc699efcfe8ffeb3c6ee9c
User & Date: fvogel 2018-07-08 20:24:48
References
2018-07-08
20:25 Ticket [1475156f] Numerous select.test failures on macOS status still Open with 3 other changes artifact: 0b191453 user: fvogel
Context
2018-07-17
18:57
Fix [1475156fff]: Numerous select.test and unixSelect.test failures on macOS. Also clipboard-6.2 check-in: 2dfc3496 user: fvogel tags: core-8-6-branch
2018-07-08
20:24
Ditto for clipboard-6.2. Don't run this test on macOS, only on x11. This test checks X selection mechanisms that are only present on x11, not on unix aqua. Closed-Leaf check-in: 7b6bf3cb user: fvogel tags: bug-1475156fff
2018-07-07
21:28
Also prevent unixSelect-1.* tests from failing on macOS. These tests check X selection mechanisms that are only present on x11, not on unix aqua. Therefore don't run them on aqua. check-in: fdb21d74 user: fvogel tags: bug-1475156fff
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tests/clipboard.test.

226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
    clipboard append "first chunk"
    selection own -s CLIPBOARD .
	clipboard append " second chunk"
	clipboard get
} -cleanup {
    clipboard clear
}  -returnCodes ok -result {first chunk second chunk}
test clipboard-6.2 {Tk_ClipboardAppend procedure} -constraints unix -setup {
    clipboard clear
} -body {
    setupbg
    clipboard append -f INTEGER -t TEST "16"
    set result [dobg {clipboard get TEST}]
    return $result
} -cleanup {







|







226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
    clipboard append "first chunk"
    selection own -s CLIPBOARD .
	clipboard append " second chunk"
	clipboard get
} -cleanup {
    clipboard clear
}  -returnCodes ok -result {first chunk second chunk}
test clipboard-6.2 {Tk_ClipboardAppend procedure} -constraints x11 -setup {
    clipboard clear
} -body {
    setupbg
    clipboard append -f INTEGER -t TEST "16"
    set result [dobg {clipboard get TEST}]
    return $result
} -cleanup {