libgomp testsuite: tell warning from error diagnostics, etc. [PR80219, PR85303]
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 29 Oct 2020 09:29:19 +0000 (10:29 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Mon, 2 Nov 2020 13:14:43 +0000 (14:14 +0100)
commit528507fa0314c75d1105890e4781a475c8badd7c
tree4e9cdf1bfea3131d872a61a0cc92204af3b33ee4
parentb2a31e2c341d96520c5fb7c1e1f1c590eb182d7f
libgomp testsuite: tell warning from error diagnostics, etc. [PR80219, PR85303]

This changes makes 'dg-warning', 'dg-error', 'dg-bogus', 'dg-message' behave as
expected, and also enables use of relative line numbers as well as 'dg-line'.

libgomp/
PR testsuite/80219
PR testsuite/85303
* testsuite/lib/libgomp.exp (libgomp_init): Set
'gcc_warning_prefix', 'gcc_error_prefix'.
libgomp/testsuite/lib/libgomp.exp