gcc/libatomic
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
testsuite Testsuite: add dg-{begin|end}-multiline-output commands 2015-10-09 13:55:23 +00:00
.gitignore
acinclude.m4
aclocal.m4
auto-config.h.in
cas_n.c 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
configure Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
configure.ac Update copyright years. 2015-01-05 13:33:28 +01:00
configure.tgt configure.tgt: Add *-*-dragonfly to supported targets. 2015-07-14 16:36:51 +01:00
exch_n.c Update copyright years. 2015-01-05 13:33:28 +01:00
fadd_n.c Update copyright years. 2015-01-05 13:33:28 +01:00
fand_n.c
fenv.c Update copyright years. 2015-01-05 13:33:28 +01:00
fior_n.c
fnand_n.c
fop_n.c Avoid misaligned atomic operations 2015-01-21 09:17:03 -08:00
fsub_n.c
fxor_n.c
gcas.c Update copyright years. 2015-01-05 13:33:28 +01:00
gexch.c Update copyright years. 2015-01-05 13:33:28 +01:00
glfree.c Update copyright years. 2015-01-05 13:33:28 +01:00
gload.c Update copyright years. 2015-01-05 13:33:28 +01:00
gstore.c Update copyright years. 2015-01-05 13:33:28 +01:00
host-config.h Update copyright years. 2015-01-05 13:33:28 +01:00
init.c
libatomic_i.h Update copyright years. 2015-01-05 13:33:28 +01:00
libatomic.map
load_n.c Update copyright years. 2015-01-05 13:33:28 +01:00
Makefile.am Update copyright years. 2015-01-05 13:33:28 +01:00
Makefile.in
store_n.c Update copyright years. 2015-01-05 13:33:28 +01:00
tas_n.c Update copyright years. 2015-01-05 13:33:28 +01:00