www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9751] New: Coverage generation should emit non-problematic file names

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9751

           Summary: Coverage generation should emit non-problematic file
                    names
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-03-18
14:05:57 PDT ---
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 ".".

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 18 2013
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9751


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
         AssignedTo|nobody puremagic.com        |andrej.mitrovich gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-03-18
14:06:57 PDT ---
https://github.com/D-Programming-Language/druntime/pull/451

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 18 2013