[Issue 16952] REG: rdmd --eval='writeln();' keeps failing at almost every release, needs a test

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Dec 6 15:19:30 PST 2016


https://issues.dlang.org/show_bug.cgi?id=16952

ag0aep6g at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ag0aep6g at gmail.com

--- Comment #1 from ag0aep6g at gmail.com ---
(In reply to Timothee Cour from comment #0)
> it seems to break at every release, probably a symptom there's a test
> missing:
> 
> dmd --version
> DMD64 D Compiler v2.072.1
> rdmd '--eval=writeln();'
> Error: module cstream is in file 'std/cstream.d' which cannot be read

So that people don't go and try to fix this: This specific instance has already
been fixed in master.

Regarding the issue that this stuff comes up again and again: We do have a test
in rdmd_test.d [1], and it does catch this. I think the problem is that the
auto-tester doesn't run rdmd_test.


[1]
https://github.com/dlang/tools/blob/3a32331303e2e62f429b8136ba0de0e9a9294722/rdmd_test.d#L135-L138

--


More information about the Digitalmars-d-bugs mailing list