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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Mac_files | Loading commit data... | |
cord | Loading commit data... | |
doc | Loading commit data... | |
include | Loading commit data... | |
testsuite | Loading commit data... | |
AmigaOS.c | Loading commit data... | |
BCC_MAKEFILE | Loading commit data... | |
ChangeLog | Loading commit data... | |
EMX_MAKEFILE | Loading commit data... | |
MacOS.c | Loading commit data... | |
MacProjects.sit.hqx | Loading commit data... | |
Makefile.DLLs | Loading commit data... | |
Makefile.am | Loading commit data... | |
Makefile.direct | Loading commit data... | |
Makefile.dist | Loading commit data... | |
Makefile.dj | Loading commit data... | |
Makefile.in | Loading commit data... | |
NT_MAKEFILE | Loading commit data... | |
NT_STATIC_THREADS_MAKEFILE | Loading commit data... | |
NT_THREADS_MAKEFILE | Loading commit data... | |
OS2_MAKEFILE | Loading commit data... | |
PCR-Makefile | Loading commit data... | |
SMakefile.amiga | Loading commit data... | |
WCC_MAKEFILE | Loading commit data... | |
aclocal.m4 | Loading commit data... | |
add_gc_prefix.c | Loading commit data... | |
allchblk.c | Loading commit data... | |
alloc.c | Loading commit data... | |
alpha_mach_dep.S | Loading commit data... | |
backgraph.c | Loading commit data... | |
blacklst.c | Loading commit data... | |
callprocs | Loading commit data... | |
checksums.c | Loading commit data... | |
configure | Loading commit data... | |
configure.ac | Loading commit data... | |
configure.host | Loading commit data... | |
darwin_stop_world.c | Loading commit data... | |
dbg_mlc.c | Loading commit data... | |
depcomp | Loading commit data... | |
digimars.mak | Loading commit data... | |
dyn_load.c | Loading commit data... | |
finalize.c | Loading commit data... | |
gc.mak | Loading commit data... | |
gc_cpp.cc | Loading commit data... | |
gc_cpp.cpp | Loading commit data... | |
gc_dlopen.c | Loading commit data... | |
gcc_support.c | Loading commit data... | |
gcj_mlc.c | Loading commit data... | |
gcname.c | Loading commit data... | |
headers.c | Loading commit data... | |
hpux_test_and_clear.s | Loading commit data... | |
ia64_save_regs_in_stack.s | Loading commit data... | |
if_mach.c | Loading commit data... | |
if_not_there.c | Loading commit data... | |
mach_dep.c | Loading commit data... | |
malloc.c | Loading commit data... | |
mallocx.c | Loading commit data... | |
mark.c | Loading commit data... | |
mark_rts.c | Loading commit data... | |
mips_sgi_mach_dep.s | Loading commit data... | |
mips_ultrix_mach_dep.s | Loading commit data... | |
misc.c | Loading commit data... | |
new_hblk.c | Loading commit data... | |
obj_map.c | Loading commit data... | |
os_dep.c | Loading commit data... | |
pc_excludes | Loading commit data... | |
pcr_interface.c | Loading commit data... | |
powerpc_darwin_mach_dep.s | Loading commit data... | |
pthread_stop_world.c | Loading commit data... | |
pthread_support.c | Loading commit data... | |
ptr_chck.c | Loading commit data... | |
real_malloc.c | Loading commit data... | |
reclaim.c | Loading commit data... | |
rs6000_mach_dep.s | Loading commit data... | |
setjmp_t.c | Loading commit data... | |
sparc_mach_dep.S | Loading commit data... | |
sparc_netbsd_mach_dep.s | Loading commit data... | |
sparc_sunos4_mach_dep.s | Loading commit data... | |
specific.c | Loading commit data... | |
stubborn.c | Loading commit data... | |
threadlibs.c | Loading commit data... | |
threads.mk.in | Loading commit data... | |
typd_mlc.c | Loading commit data... | |
version.h | Loading commit data... | |
win32_threads.c | Loading commit data... |