Re: [PATCH 02/22] Testsuite: add dg-{begin|end}-multiline-output commands

2015-09-14 Thread Jeff Law
On 09/14/2015 02:38 PM, Bernhard Reutner-Fischer wrote: On September 14, 2015 9:32:54 PM GMT+02:00, Jeff Law wrote: On 09/10/2015 02:28 PM, David Malcolm wrote: multiline.exp is used by prune.exp; hence we need to load it before prune.exp via *load_gcc_lib* for the testsuites of the various

Re: [PATCH 02/22] Testsuite: add dg-{begin|end}-multiline-output commands

2015-09-14 Thread Bernhard Reutner-Fischer
On September 14, 2015 9:32:54 PM GMT+02:00, Jeff Law wrote: >On 09/10/2015 02:28 PM, David Malcolm wrote: >> >> multiline.exp is used by prune.exp; hence we need to load it before >> prune.exp via *load_gcc_lib* for the testsuites of the various >> non-"gcc" support libraries (e.g. boehm-gc). >?!

Re: [PATCH 02/22] Testsuite: add dg-{begin|end}-multiline-output commands

2015-09-14 Thread Jeff Law
On 09/10/2015 02:28 PM, David Malcolm wrote: This patch adds an easy way to write tests for expected multiline output. For example we can test carets and underlines for a particular diagnostic with: /* { dg-begin-multiline-output "" } typedef struct _GMutex GMutex; ^~~

[PATCH 02/22] Testsuite: add dg-{begin|end}-multiline-output commands

2015-09-10 Thread David Malcolm
This patch adds an easy way to write tests for expected multiline output. For example we can test carets and underlines for a particular diagnostic with: /* { dg-begin-multiline-output "" } typedef struct _GMutex GMutex; ^~~ { dg-end-multiline-output "" } */ It is used ex