binutils-gdb/gdb/testsuite/lib
Tom Tromey 17e1c970ef add caching procs to test suite
In the fully parallel mode, each .exp file can be run in parallel (at
least conceptually -- the actual split may not be so severe).  This
means that procs that compute a result and cache it are not going to
function very well.  The test they run will be invoked over and over.

This patch introduces a generic caching mechanism and changes various
result-caching procs to use it.  This is a cleanup to introduce the
basic change; the results aren't written to disk yet.

A caching proc is defined using gdb_caching_proc, which works like
"proc", except that it caches the result of the body.

	* lib/cache.exp: New file.
	* lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
	* lib/gdb.exp: Load cache.exp.
	(support_complex_tests, is_ilp32_target, is_lp64_target)
	(is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
	(gdb_skip_xml_test): Use gdb_caching_proc.
	* lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
2013-08-13 15:55:52 +00:00
..
ada.exp
append_gdb_boards_dir.exp
cache.exp add caching procs to test suite 2013-08-13 15:55:52 +00:00
cell.exp add caching procs to test suite 2013-08-13 15:55:52 +00:00
cl_util.c
cl_util.h
compiler.c
compiler.cc
cp-support.exp
dwarf.exp Fix PR symtab/15391 2013-06-18 18:11:19 +00:00
fortran.exp
future.exp * lib/future.exp (gdb_find_ldd): New proc. 2013-08-09 17:58:38 +00:00
gdb-python.exp
gdb.exp add caching procs to test suite 2013-08-13 15:55:52 +00:00
gdbserver-support.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
go.exp
java.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
mi-support.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
objc.exp
opencl_hostapp.c
opencl_kernel.cl
opencl.exp add caching procs to test suite 2013-08-13 15:55:52 +00:00
pascal.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
prelink-support.exp more uses of standard_output_file 2013-08-13 15:50:13 +00:00
prompt.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
range-stepping-support.exp gdb/testsuite/ 2013-05-24 09:57:12 +00:00
selftest-support.exp fix python-selftest.exp failure with gdbserver 2013-06-18 14:12:09 +00:00
set_unbuffered_mode.c
trace-support.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00