Let's improve the dmd tester.
Walter Bright
newshound2 at digitalmars.com
Fri Jun 26 01:04:50 UTC 2020
On 6/25/2020 11:15 AM, Seb wrote:
> On Thursday, 25 June 2020 at 14:39:18 UTC, Stefan Koch wrote:
>> One thing which makes intrusive changes to DMD, hard to do, is the testing
>> "script".
>> Which executes and evaluates tests for DMD.
>
> You do realize that you can run all tests locally?
> For example, `./test/run.d compilable` takes less than ten seconds on my machine.
> You can also execute only individual tests e.g. `./test/run.d
> compilable/dtoh_enum.d`
One of my issues with this is:
1. how is the compiler version that is used to build test/run.d determined?
2. how is the compiler version that runs the test(s) determined?
3. how is the import path to druntime/phobos set for (1) and (2) ?
Please don't answer here, add a PR to fix run.d and the corresponding README.md.
https://issues.dlang.org/show_bug.cgi?id=20979
I've added the keyword "TestSuite" for test suite issues:
https://issues.dlang.org/buglist.cgi?keywords=TestSuite&list_id=232009
Please add all test suite issues under that keyword.
And my previous grumpy rant:
https://digitalmars.com/d/archives/digitalmars/D/Serious_Problems_with_the_Test_Suite_339807.html
More information about the Digitalmars-d
mailing list