Thread overview
[Issue 16952] REG: rdmd --eval='writeln();' keeps failing at almost every release, needs a test
Dec 06, 2016
Timothee Cour
Dec 06, 2016
ag0aep6g@gmail.com
Dec 07, 2016
Timothee Cour
Dec 24, 2017
greenify
December 06, 2016
https://issues.dlang.org/show_bug.cgi?id=16952

Timothee Cour <timothee.cour2@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothee.cour2@gmail.com
            Summary|rdmd --eval='writeln();'    |REG: rdmd
                   |keeps failing at every      |--eval='writeln();' keeps
                   |release, needs a test       |failing at almost every
                   |                            |release, needs a test
           Severity|critical                    |regression

--
December 06, 2016
https://issues.dlang.org/show_bug.cgi?id=16952

ag0aep6g@gmail.com changed:

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

--- Comment #1 from ag0aep6g@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

--
December 07, 2016
https://issues.dlang.org/show_bug.cgi?id=16952

--- Comment #2 from Timothee Cour <timothee.cour2@gmail.com> ---
filed https://issues.dlang.org/show_bug.cgi?id=16953: auto-tester doesn't run rdmd_test (causes a number of regressions in each release)

--
December 24, 2017
https://issues.dlang.org/show_bug.cgi?id=16952

greenify <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |greeenify@gmail.com
         Resolution|---                         |FIXED

--- Comment #3 from greenify <greeenify@gmail.com> ---
TravisCI now runs the testsuite on every day.

--