On 3/18/13, timotheecour <[email protected]> wrote: > 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
It's not an RDMD issue, it's Druntime. Specifically the baseName function in src/rt/cover.d. This can easily be fixed. > B) > Can the file location be improved? > For example, replacing "-" with "_", and converting paths to use > "buildNormalizedPath" to avoid ".." or "." in filename. The problem is Druntime can't have dependencies to Phobos. > Also, why not add dmd flag : -covd=dirname, in which all lst > files will be generated? This could be an enhancement. Or we could make cov generation follow the -od switch.
