Browse Source
makeFile/makeDirectory output previously landed in the working directory - aborted core exec.test runs littered src/tests with untracked helper files (cat, echo, gorp.file ...). Unless -tcltestoptions supplies -tmpdir, a fresh directory from 'file tempdir' (TMPDIR/TEMP/TMP + pid fallback for tcl 8.6) is configured and deleted before exit; a hard-aborted run now leaves litter in the OS temp area rather than the source tree. Takes effect in single-process mode; multi-process mode still does not forward tcltest options to child processes (pre-existing todo). Contract documented in src/tests/AGENTS.md. Assisted-by: harness=claude; primary-model=claude-fable-5; api-location=anthropic.commaster
2 changed files with 26 additions and 0 deletions
Loading…
Reference in new issue