Let's improve the dmd tester.
Nils Lankila
NilsLankila at gmx.us
Fri Jun 26 00:40:44 UTC 2020
On Thursday, 25 June 2020 at 18:15:57 UTC, Seb wrote:
> On Thursday, 25 June 2020 at 14:39:18 UTC, Stefan Koch wrote:
>> [...]
>
> 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`
>
>> [...]
>
> The tester ensures that the log output of each test isn't mixed.
>
>> [...]
>
> So to summarize your "wishes":
>
> a) print error messages of failed tests at the end of the
> execution
> BTW for local testing you can just rerun the test script. It
> will only rerun the failing tests.
That's generally not true as between two runs you change the
compiler.
Failed scripts are rerun when you fix a test, for example the
TEST_OUTPUT section, which happens but less frequently,
>
> b) hide messages for successful tests under the verbose flag
>
> Did I understand you correctly?
More information about the Digitalmars-d
mailing list