gcc/libgomp/testsuite
David Malcolm 9e531d3749 Testsuite: add dg-{begin|end}-multiline-output commands
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 "" } */

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).

gcc/testsuite/ChangeLog:
	* lib/multiline.exp: New file.
	* lib/prune.exp: Load multiline.exp.
	(prune_gcc_output): Call into multiline.exp to handle any
	multiline output directives.
	* lib/libgo.exp: Load multiline.exp before prune.exp, using
	load_gcc_lib.

boehm-gc/ChangeLog:
	* testsuite/lib/boehm-gc.exp: Load multiline.exp before
	prune.exp, using load_gcc_lib.

libatomic/ChangeLog:
	* testsuite/lib/libatomic.exp: Load multiline.exp before
	prune.exp, using load_gcc_lib.

libgomp/ChangeLog:
	* testsuite/lib/libgomp.exp: Load multiline.exp before prune.exp,
	using load_gcc_lib.

libitm/ChangeLog:
	* testsuite/lib/libitm.exp: Load multiline.exp before prune.exp,
	using load_gcc_lib.

libvtv/ChangeLog:
	* testsuite/lib/libvtv.exp: Load multiline.exp before prune.exp,
	using load_gcc_lib.

From-SVN: r228655
2015-10-09 13:55:23 +00:00
..
config Update copyright years. 2015-01-05 13:33:28 +01:00
lib Testsuite: add dg-{begin|end}-multiline-output commands 2015-10-09 13:55:23 +00:00
libgomp.c Fix inner loop phi in expand_omp_for_static_chunk 2015-09-03 11:01:14 +00:00
libgomp.c++ Update libgomp/testsuite/*/examples-4/* according to latest version (4.0.2) 2015-07-13 13:08:13 +00:00
libgomp.fortran re PR libgomp/66950 (FAIL: libgomp.fortran/examples-4/simd-7.f90 -O0 execution test) 2015-07-22 17:19:31 +00:00
libgomp.graphite Remove limit_scops 2015-09-08 22:18:11 +00:00
libgomp.oacc-c [PR libgomp/65742, PR middle-end/66332] libgomp: Remove plugin for non-shared memory host execution 2015-08-10 18:48:26 +02:00
libgomp.oacc-c++ [PR libgomp/65742, PR middle-end/66332] libgomp: Remove plugin for non-shared memory host execution 2015-08-10 18:48:26 +02:00
libgomp.oacc-c-c++-common Add checkpoint to libgomp dg-shouldfail tests 2015-09-30 10:44:49 +02:00
libgomp.oacc-fortran Add checkpoint to libgomp dg-shouldfail tests 2015-09-30 10:44:49 +02:00
libgomp-test-support.exp.in Merge current set of OpenACC changes from gomp-4_0-branch. 2015-01-15 21:11:12 +01:00
Makefile.am Merge current set of OpenACC changes from gomp-4_0-branch. 2015-01-15 21:11:12 +01:00
Makefile.in libgomp: Bump to automake 1.11.6 2015-05-13 11:24:38 +00:00