Removing Phobos dependencies from dmd test suite

Walter Bright newshound2 at digitalmars.com
Sat Apr 20 03:25:03 UTC 2019


On 4/19/2019 2:05 PM, Vladimir Panteleev wrote:
> On Wednesday, 17 April 2019 at 09:47:58 UTC, Walter Bright wrote:
>> For a more challenging fix,
>>
>>   test/runnable/test_cdcmp.d
> 
> Rewriting that to not use Phobos looks like a complete waste of time. I suggest 
> to simply flag the tests that require Phobos, and provide the option to run only 
> those tests that do not require Phobos. I'm sure the coverage will still be good 
> enough to facilitate porting a functional compiler that is then capable of 
> building Phobos and running the rest of the tests.
> 

Many of the tests simply use writefln instead of printf.


More information about the Digitalmars-d mailing list