This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: update gdb internals doc with parallel make check
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 09 Jul 2009 22:21:04 +0300
- Subject: Re: RFA: update gdb internals doc with parallel make check
- References: <m3skh5n78w.fsf@fleche.redhat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Tom Tromey <tromey@redhat.com>
> Date: Thu, 09 Jul 2009 10:36:31 -0600
>
> I noticed today that the db internals documentation has a section on
> the test suite. This patch copies the parallel make check
> documentation from README into the internals doc.
Thanks.
> +If you use GNU make, you can use its @code{-j} option to run the
> +testsuite in parallel. This can greatly reduce the amount of time it
> +takes for the testsuite to run. In this case, if you set
> +@code{RUNTESTFLAGS} then, by default, the tests will be run serially
> +even under @code{-j}. You can override this and force a parallel run
> +by setting the @code{make} variable @code{FORCE_PARALLEL} to any
> +non-empty value. Note that the parallel @code{make check} assumes
> +that you want to run the entire testsuite, so it is not compatible
> +with some dejagnu options, like @code{--directory}.
The text is okay, of course, but I have a few markup comments:
. Please use @option for command-line options
. Please use @env for environment variables
. Please use @kbd for commands typed by the user, such as "make
check" in this case
Okay with those taken care of.