gcc/libitm
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 re PR libitm/52482 (libitm INVALID MNEMONIC in .S (powerpc asm)) 2015-07-03 17:28:43 +00:00
testsuite Testsuite: add dg-{begin|end}-multiline-output commands 2015-10-09 13:55:23 +00:00
aatree.cc Update copyright years. 2015-01-05 13:33:28 +01:00
aatree.h Update copyright years. 2015-01-05 13:33:28 +01:00
acinclude.m4
aclocal.m4 libitm: Bump to automake 1.11.6 2015-05-13 11:25:28 +00:00
alloc_c.cc Update copyright years. 2015-01-05 13:33:28 +01:00
alloc_cpp.cc Update copyright years. 2015-01-05 13:33:28 +01:00
alloc.cc Update copyright years. 2015-01-05 13:33:28 +01:00
barrier.cc Update copyright years. 2015-01-05 13:33:28 +01:00
beginend.cc Update copyright years. 2015-01-05 13:33:28 +01:00
ChangeLog Testsuite: add dg-{begin|end}-multiline-output commands 2015-10-09 13:55:23 +00:00
clone.cc Update copyright years. 2015-01-05 13:33:28 +01:00
common.h Update copyright years. 2015-01-05 13:33:28 +01:00
config.h.in
configure libitm: Bump to automake 1.11.6 2015-05-13 11:25:28 +00:00
configure.ac Update copyright years. 2015-01-05 13:33:28 +01:00
configure.tgt Update copyright years. 2015-01-05 13:33:28 +01:00
containers.h Update copyright years. 2015-01-05 13:33:28 +01:00
dispatch.h Update copyright years. 2015-01-05 13:33:28 +01:00
eh_cpp.cc Update copyright years. 2015-01-05 13:33:28 +01:00
libitm_i.h Update copyright years. 2015-01-05 13:33:28 +01:00
libitm.h Update copyright years. 2015-01-05 13:33:28 +01:00
libitm.map
libitm.spec.in
libitm.texi gcc.c (process_command): Update copyright notice dates. 2015-01-05 13:05:46 +01:00
local_atomic libitm: Don't redefine __always_inline in local_atomic. 2015-08-20 17:55:24 +00:00
local_type_traits Update copyright years. 2015-01-05 13:33:28 +01:00
local.cc Update copyright years. 2015-01-05 13:33:28 +01:00
Makefile.am
Makefile.in libitm: Bump to automake 1.11.6 2015-05-13 11:25:28 +00:00
method-gl.cc Update copyright years. 2015-01-05 13:33:28 +01:00
method-ml.cc Update copyright years. 2015-01-05 13:33:28 +01:00
method-serial.cc Update copyright years. 2015-01-05 13:33:28 +01:00
query.cc Update copyright years. 2015-01-05 13:33:28 +01:00
retry.cc Update copyright years. 2015-01-05 13:33:28 +01:00
stmlock.h Update copyright years. 2015-01-05 13:33:28 +01:00
useraction.cc Update copyright years. 2015-01-05 13:33:28 +01:00
util.cc Update copyright years. 2015-01-05 13:33:28 +01:00