This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: parallelize "make check"


>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

Eli> It would be good to mention this possibility in README, IMO.

Please review.

Tom

2009-06-25  Tom Tromey  <tromey@redhat.com>

	* README: Mention parallel check.

diff --git a/gdb/README b/gdb/README
index 7116227..7feff8a 100644
--- a/gdb/README
+++ b/gdb/README
@@ -646,6 +646,15 @@ The last method gives you slightly more control in case of problems
 with building one or more test executables or if you are using the
 testsuite `standalone', without it being part of the GDB source tree.
 
+The first two methods will let you run different parts of the
+testsuite in parallel, if you use GNU make and its `-j' option.  In
+this case, if you set `RUNTESTFLAGS' then, by default, the tests will
+be run serially.  You can override this and force a parallel run by
+setting the `make' variable `FORCE_PARALLEL' to any non-empty value.
+Note that the parallel `make check' assumes that you want to run the
+entire testsuite, so it is not compatible with some dejagnu options,
+like `--directory'.
+
 See the DejaGNU documentation for further details.
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]