D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 9751 - [cov] Coverage generation should emit non-problematic file names
Summary: [cov] Coverage generation should emit non-problematic file names
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: All All
: P3 normal
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2013-03-18 14:05 UTC by Andrej Mitrovic
Modified: 2024-12-07 13:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Andrej Mitrovic 2013-03-18 14:05:57 UTC
Report by timotheecour:

rdmd -cov /Users/timothee/test/test_01.d

creates a file "-Users-timothee-test-test_01.lst"

A) This leading "-" in filename is very unix unfriendly, eg:

mv "-Users-timothee-test-test_01.lst" temp.lst
yields: mv: illegal option --U, etc.

Even worse in the following case:

rdmd --force -cov -I.. ../temp1/test_024.d

generates:
..-temp1-test_01.lst

which is invisible by ls (requires ls -a)
probably similar with ".".
Comment 2 dlangBugzillaToGithub 2024-12-07 13:32:20 UTC
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/17119

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB