re PR other/69006 (Extraneous newline emitted between error messages in GCC 6)
authorJakub Jelinek <jakub@redhat.com>
Fri, 15 Feb 2019 07:52:50 +0000 (08:52 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 15 Feb 2019 07:52:50 +0000 (08:52 +0100)
commit9f53b76775c53998a7714570ae8d36acab02a07f
tree0a88988b6d5d8a4071c2dcb86ff9133933059bb3
parent906c376300b029f2b5e23dcca65f49dfc47c3908
re PR other/69006 (Extraneous newline emitted between error messages in GCC 6)

PR other/69006
PR testsuite/88920
* lib/gcc-dg.exp: If llvm_binutils effective target, set
allow_blank_lines to 2 during initialization.
(dg-allow-blank-lines-in-output): Set allow_blank_lines to 1 only if
it was previously zero.
(gcc-dg-prune): Don't check for llvm_binutils effective target here.
Clear allow_blank_lines afterwards whenever it was 1.
* gdc.test/gdc-test.exp (dmd2dg): Don't call
dg-allow-blank-lines-in-output here.
(gdc-do-test): Set allow_blank_lines to 3 if it is 0 before running
the tests and restore it back at the end.

From-SVN: r268930
gcc/testsuite/ChangeLog
gcc/testsuite/gdc.test/gdc-test.exp
gcc/testsuite/lib/gcc-dg.exp