Re: writing DMD tests for inline assembly bugs

2015-10-30 Thread Jacob Carlborg via Digitalmars-d
On 2015-10-29 18:58, Walter Bright wrote: The usual technique in the D test suite is to pipe the output to a file, and then diff against what it should be. Yes, you wind up with about one test file per error message.

Re: writing DMD tests for inline assembly bugs

2015-10-30 Thread Cauterite via Digitalmars-d
This *seems* to fix it: https://github.com/D-Programming-Language/dmd/pull/5244 On Thursday, 29 October 2015 at 12:44:51 UTC, Cauterite wrote: while working on issue 15235 I've been trying to add some new tests for DMD.

writing DMD tests for inline assembly bugs

2015-10-29 Thread Cauterite via Digitalmars-d
while working on issue 15235 I've been trying to add some new tests for DMD. The tests I want to write involve checking that certain asm statements throw syntax errors instead of segfaults, but the fact that asmerr() ends compilation unconditionally is proving to be a problem.

Re: writing DMD tests for inline assembly bugs

2015-10-29 Thread Walter Bright via Digitalmars-d
On 10/29/2015 5:44 AM, Cauterite wrote: while working on issue 15235 I've been trying to add some new tests for DMD. The tests I want to write involve checking that certain asm statements throw syntax errors instead of segfaults, but the fact that asmerr() ends compilation unconditionally is