Add parallel build support for perf tests.
authorDoug Evans <dje@google.com>
Fri, 24 Jul 2015 22:28:46 +0000 (15:28 -0700)
committerDoug Evans <dje@google.com>
Fri, 24 Jul 2015 22:28:46 +0000 (15:28 -0700)
commit35baa57fcfb50f7db24f7850ec9e34f4bc25b45c
tree39952a084573a578b8cacc79edf5b18b3cb98e0d
parent6ebea266fd0a7a56c90db3ab6237ff9f6c919747
Add parallel build support for perf tests.

gdb/testsuite/ChangeLog:

* Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
(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/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
* lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
name.
(standard_temp_file): Ditto.
(GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
of $GDB_PARALLEL.
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