Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2021-04-26
16:02 • Ticket [f6fbc71cd1] with "make valgrind", safe-zipfs-5.5 fails with th... artifact: d105eae8b0 user: jan.nijtmans
15:39 • Closed ticket [f6fbc71cd1]. artifact: 52e9141b28 user: jan.nijtmans
2021-04-25
14:16 • Ticket [f6fbc71cd1]: 3 changes artifact: 8577093d44 user: pooryorick
14:15 • Ticket [f6fbc71cd1]: 3 changes artifact: 44fc8e7124 user: pooryorick
14:01 • Ticket [f6fbc71cd1]: 3 changes artifact: 3d6346f6f1 user: dkf
13:24
Fix for issue [f6fbc71cd160d779], with "make valgrind", safe-zipfs-5.5 fails with the error, 'can't ... check-in: ac18feaba7 user: pooryorick tags: core-8-branch
13:06 • New ticket [f6fbc71cd1] with "make valgrind", safe-zipfs-5.5 fails wit... artifact: a8fdce350f user: pooryorick

with "make valgrind", safe-zipfs-5.5 fails with the error, 'can't set "path": variable is array'

Closed / Fixedf6fbc71cd160d7796065a0933182e3d34cc11e3fCreated 6 years agoUpdated 6 years ago
Descriptionwiki2021-04-25 13:06:57
With "make valgrind", safe-zipfs-5.5, and some other safe-zipfs tests fail with the error,
can't set "path": variable is array'

With "make test" this failure doesn't occur. However, for "make valgrind", "-singleproc 1" is passed to tcltest. The error occurs because in this casse, the content of each test file is evaluated evaluated in the same interpreter, and process.test, which was previously evaluated, creates the variable "path" in the global namespace, but does not delete it.

This illustrates a general problem with "-singleproc 1", the various .test files are all evaluated in the same interpeter, and may produce conflicting interpeter states.

dkfhtml2021-04-25 14:01:28

Classic test isolation error in process.test.

pooryorickwiki2021-04-25 14:15:53

Fixed in [ac18feaba778d8c7].

pooryorick Ticket [f6fbc71cd1]: 3 changes [History diff]2021-04-25 14:16:06
jan.nijtmanswiki2021-04-26 15:39:57

Merged to 8.6 and up now. So, closing

jan.nijtmanswiki2021-04-26 16:02:19

Hm. Of course I meant 8.7 and up (zipfs didn't even exist in 8.6)

Log in (anonymous is fine) to add a comment.