Bug 5619 – coverage output path invalid

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
FreeBSD
Creation time
2011-02-20T03:14:00Z
Last change time
2014-11-11T05:39:21Z
Assigned to
bugzilla
Creator
braddr

Comments

Comment #0 by braddr — 2011-02-20T03:14:02Z
This looks like a codegen problem. Slight alterations in druntime's src/rt/cover.d hides the problem. First, dmd's a20 test illustrates it. When run without change, the .lst file is place in test_results/runnablerunnable-a20.lst rather than test_results/runnable/runnable-a20.lst -- missing one of the separators. Adding printf's inside appendFN to show the results == no bug. Adding a temporary to pull the string assembly out of the fopen call at line 165 (only fopen in cover.d) also makes it go away. For now, disabling all coverage tests on freebsd.
Comment #1 by yebblies — 2014-11-10T16:00:25Z
These don't seem to show the problem any more. I've opened https://github.com/D-Programming-Language/dmd/pull/4128 to re-enable the tests.