|
2026-10-11
| ||
| 19:27 | • Ticket [e898fa74] Aqua: tests send-13.1 and send-13.2 fail when invoked with tcltest option "-singleproc 0" status still Open with 3 other changes artifact: b713c1bd user: erikleunissen | |
| 17:28 | • Ticket [e898fa74]: 3 changes artifact: 10d728c7 user: erikleunissen | |
| 14:43 | • Ticket [e898fa74]: 3 changes artifact: 16f87384 user: serhiy.storchaka | |
| 14:42 | Fix [e898fa74c5]: send-13.1 and send-13.2 failed on Aqua with -singleproc 0, because [winfo interps] also listed the parent test process. Check only the names of the applications of the test. leaf check-in: 5a50c209 user: serhiy.storchaka tags: send-tests-other-apps | |
|
2026-05-15
| ||
| 23:37 | • Ticket [e898fa74] Aqua: tests send-13.1 and send-13.2 fail when invoked with tcltest option "-singleproc 0" status still Open with 4 other changes artifact: 68aff248 user: marc_culler | |
| 18:20 | • Ticket [e898fa74]: 3 changes artifact: 96efc4f4 user: erikleunissen | |
|
2026-05-14
| ||
| 20:48 | • Ticket [e898fa74]: 3 changes artifact: 588c9426 user: erikleunissen | |
| 20:46 | • Ticket [e898fa74]: 3 changes artifact: bc741095 user: erikleunissen | |
| 20:19 | • Ticket [e898fa74]: 4 changes artifact: 071c5ac8 user: marc_culler | |
|
2026-05-07
| ||
| 11:26 | • New ticket [e898fa74]. artifact: 8505b65a user: erikleunissen | |
| Ticket UUID: | e898fa74c5f19dffc68b62a7a995ce2bd44e99f9 | |||
| Title: | Aqua: tests send-13.1 and send-13.2 fail when invoked with tcltest option "-singleproc 0" | |||
| Type: | Bug | Version: | 9.1a1 | |
| Submitter: | erikleunissen | Created on: | 2026-05-07 11:26:15 | |
| Subsystem: | 58. [send] | Assigned To: | nobody | |
| Priority: | 5 Medium | Severity: | Minor | |
| Status: | Open | Last Modified: | 2026-10-11 19:27:14 | |
| Resolution: | None | Closed By: | nobody | |
| Closed on: | ||||
| Description: |
Invocation : TESTFLAGS="-file send.test -singleproc 0" make test-classic
Test output : see appended
Notes:
* the same invocation on X11 does not exhibit the test failure
* these tests are skipped on MS Windows because send is not implemented on that platform
==== send-13.1 DeleteProc procedure FAILED
==== Contents of test case:
childTkProcess create
set app [childTkProcess eval {rename send {}; tk appname}]
set result [list [catch {send $app foo} msg] $msg [winfo interps]]
childTkProcess exit
set result
---- Result was:
1 {no application named "tktest8"} {all.tcl tktest}
---- Result should have been (regexp matching):
1 {no application named "tktest[0-9]+"} tktest
==== send-13.1 FAILED
==== send-13.2 DeleteProc procedure FAILED
==== Contents of test case:
winfo interps
tk appname tktest
rename send {}
set result {}
lappend result [winfo interps] [info commands send]
tk appname foo
lappend result [winfo interps] [info commands send]
---- Result was:
all.tcl {} {all.tcl foo} send
---- Result should have been (exact matching):
{} {} foo send
==== send-13.2 FAILED
| |||
| User Comments: |
erikleunissen added on 2026-10-11 19:27:14:
B.t.w. I don't understand the purpose/workings of these tests (both old and new versions) enough to express a judgment w.r.t. fitness for merging into the main development branches. erikleunissen added on 2026-10-11 17:28:04: I confirm that tests send-13.1 and send-13.2 on branch send-tests-other-apps both PASS under macOS/aqua and Linux/x11, using the invocation with "-singleproc 0". serhiy.storchaka added on 2026-10-11 14:43:43: The extra "all.tcl" is the parent test process, which is itself a Tk application with -singleproc 0. On X11 it is hidden from send-13.1 and send-13.2 because send.test overwrites the registry property at the top level (testsend prop root InterpRegistry); without that, the same failures occur on X11. On Aqua the registry is the file /tmp/TkAppnames, which testsend does not touch, so [winfo interps] still lists the parent process, and the tests expected exactly their own applications. Proposed fix in branch send-tests-other-apps: the tests now check only the names of their own applications. Erik, could you check it on macOS? marc_culler (claiming to be Marc Culler) added on 2026-05-15 23:37:11: I get 0 failures when I run:
make -C macosx TESTFLAGS="-file send.test" test
which is how I normally run tests. I don't know any details about how
-singleproc works on macOS and, as I said, I have never used it. It is
true that 68 of 74 tests are skipped, but that is because most of the
tests are specific to X11.
erikleunissen added on 2026-05-15 18:20:17: It just occurred to me:
Would there be a similarity with the issue reported in [881d3f6514] ?
erikleunissen added on 2026-05-14 20:48:28: Correction: "-singleproc" is a tcltest option. If set to 0, this makes each test file in a test suite executing in a separate process. erikleunissen added on 2026-05-14 20:46:56: "-singleproc" is a tcltest option that makes each test file in a test suite executing in a separate process. But the exact working is described in the docs for tcltest. So, I don't think that that option has anything to do with AppleEvents or macOS. marc_culler (claiming to be Marc Culler) added on 2026-05-14 20:19:11: The macOS send command is based on AppleEvents. Do they work with -singleproc 0? What is the purpose of -singleproc 0 on macOS, or on any platform, anyway? I have no idea, and I have never used it. | |||
