binutils-gdb/gdb/testsuite/lib
Andrew Burgess 30d0a63681 gdb/testsuite: Introduce skip_ctf_tests guard function
Most versions of GCC in the wild don't support CTF debug format right
now, so, rather than attempting to compile the tests and failing each
time, this patch introduces a guard function to check if the compiler
supports CTF.  If we don't have CTF support then the CTF tests are
skipped.

This patch only updates 3 of the 4 CTF tests, the fourth will be
handled in the next patch.

gdb/testsuite/ChangeLog:

	* gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
	the compiler.  Clean up header comment a little.
	* gdb.base/ctf-ptype.exp: Likewise.
	* gdb.base/ctf-whatis.exp: Likewise.
	* lib/gdb.exp (skip_ctf_tests): New proc.

Change-Id: I505c11169a9bc9871a31fc0c61e119f92f32cc63
2019-11-19 00:37:20 +00:00
..
ada.exp [gdb/testsuite] Fix ada tests with -fPIE/-pie 2019-10-10 11:51:34 +02:00
append_gdb_boards_dir.exp
build-piece.exp
cache.exp
cl_util.c
cl_util.h
compile-support.exp
compiler.c [gdb] Fix more typos in comments (2) 2019-10-26 09:55:32 +02:00
compiler.cc [gdb] Fix more typos in comments (2) 2019-10-26 09:55:32 +02:00
completion-support.exp Add check for readline support to more GDB tab-completion tests. 2019-08-04 14:26:39 -07:00
cp-support.exp
d-support.exp
data-structures.exp
dtrace.exp
dwarf.exp [gdb/testsuite] Fix handling of DW_FORM_ref_addr in dwarf assembler 2019-05-07 10:38:36 +02:00
fortran.exp [gdb/testsuite] Fix gdb.fortran/info-types.exp regexp 2019-08-29 14:43:11 +02:00
future.exp Implement dump of mappings with ELF headers by gcore 2019-04-25 14:21:18 -04:00
gdb-guile.exp
gdb-python.exp
gdb-utils.exp Introduce metadata style 2019-10-01 15:12:40 -06:00
gdb.exp gdb/testsuite: Introduce skip_ctf_tests guard function 2019-11-19 00:37:20 +00:00
gdbserver-support.exp [gdb/testsuite] Fix gdb_target_cmd 2019-09-19 01:14:19 +02:00
gen-perf-test.exp
go.exp
memory.exp
mi-support.exp [gdb/testsuite] Test skip_libstdcxx_probe_tests in mi-catch-cpp-exceptions.exp 2019-07-25 18:39:31 +02:00
objc.exp
opencl.exp [gdb/testsuite] Fix regexp in skip_opencl_tests 2019-04-29 16:52:10 +02:00
opencl_hostapp.c
opencl_kernel.cl
pascal.exp [gdb/testsuite] Clean up stale exec in gdb_compile_pascal 2019-08-20 17:18:09 +02:00
pdtrace.in
perftest.exp
prelink-support.exp
prompt.exp
range-stepping-support.exp
read1.c [gdb/testsuite] Work around tcl bug in libsegfault.exp with check-read1 2019-07-30 16:15:46 +02:00
rust-support.exp
selftest-support.exp
set_unbuffered_mode.c
trace-support.exp
tuiterm.exp Make TUI resizing tests more robust 2019-11-12 12:29:14 -07:00
unbuffer_output.c
valgrind.exp