Add parallel build support for perf tests.
authorDoug Evans <dje@google.com>
Mon, 3 Aug 2015 16:17:40 +0000 (09:17 -0700)
committerDoug Evans <dje@google.com>
Mon, 3 Aug 2015 16:17:40 +0000 (09:17 -0700)
commit3d3389010c00504602656ba6f16c6b91ade75243
tree9213d2fc621d39227f3f6a0f87ac387fcb0a2508
parentaf061d3e9c09baa0df2f2d4724baed06cc6158ca
Add parallel build support for perf tests.

gdb/testsuite/ChangeLog:

* Makefile.in (workers/%.worker, build-perf): New rule.
(GDB_PERFTEST_MODE): New variable.
(check-perf): Use it.
(clean): Clean up gdb.perf parallel build subdirs.
* lib/build-piece.exp: New file.
* lib/gdb.exp (make_gdb_parallel_path): New function
(standard_output_file, standard_temp_file): Call it.
(GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
of $GDB_PARALLEL.
* lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
gdb/testsuite/ChangeLog
gdb/testsuite/Makefile.in
gdb/testsuite/lib/build-piece.exp [new file with mode: 0644]
gdb/testsuite/lib/cache.exp
gdb/testsuite/lib/gdb.exp