Bug 11809 – unit tests leave behind temporary files

Status
NEW
Severity
normal
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-12-23T15:43:46Z
Last change time
2024-12-01T16:19:40Z
Assigned to
No Owner
Creator
Brad Roberts
Moved to GitHub: phobos#9621 →

Comments

Comment #0 by braddr — 2013-12-23T15:43:46Z
At least one of the tests leaves behind a directory in /tmp called delete.me.unittest.pid#. The auto-testers accumulate... a bunch. This isn't a new problem, just newly reported.
Comment #1 by hsteoh — 2014-09-19T22:22:54Z
I thought this only happens when running dmd tests?
Comment #2 by braddr — 2014-09-19T22:51:54Z
It's been forever since I did a survey. Here's what it looks like on a spot checking of the fleet: OSX: clean (possibly more aggressive cleanup?) FreeBSD and Linux: deleteme.dmd.unittest.pid##.dir (some, one or two per day-ish) test.std.range.## (just one, 8910) Win32: std.process temporary file UUID.cmd (tons) tmp*.tmp (tons) test.std.range.## (just one, 8910) Win64: std.process temporary file UUID.cmd (tons) test.std.range.## (just one, 8910) I don't see any delete.me.unittest.pid#'s any more.
Comment #3 by dlang-bot — 2019-11-13T07:10:32Z
@berni44 created dlang/phobos pull request #7271 "Fix partially Issue 11809 - unit tests leave behind temporary files" mentioning this issue: - Fix partially Issue 11809 - unit tests leave behind temporary files https://github.com/dlang/phobos/pull/7271
Comment #4 by dlang-bot — 2019-11-13T09:56:56Z
dlang/phobos pull request #7271 "Fix partially Issue 11809 - unit tests leave behind temporary files" was merged into master: - 3271984e52c7e15d79f4630227e57dd4eaa3bae6 by Bernhard Seckinger: Fix partially Issue 11809 - unit tests leave behind temporary files https://github.com/dlang/phobos/pull/7271
Comment #5 by robert.schadek — 2024-12-01T16:19:40Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/9621 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB