From: Tom Tromey <tromey@redhat.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org
Subject: Re: RFC: parallelize "make check"
Date: Fri, 26 Jun 2009 15:56:00 -0000 [thread overview]
Message-ID: <m38wjfdm5l.fsf@fleche.redhat.com> (raw)
In-Reply-To: <83tz23zdsz.fsf@gnu.org> (Eli Zaretskii's message of "Fri\, 26 Jun 2009 09\:53\:16 +0300")
>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
Eli> . You mention RUNTESTFLAGS that is not otherwise documented in
Eli> README.
It seemed better to document this.
Tom
diff --git a/gdb/README b/gdb/README
index 7116227..57f600a 100644
--- a/gdb/README
+++ b/gdb/README
@@ -642,6 +642,20 @@ or
make site.exp (builds the site specific file)
runtest -tool gdb GDB=../gdb (or GDB=<somepath> as appropriate)
+When using a `make'-based method, you can use the Makefile variable
+`RUNTESTFLAGS' to pass flags to `runtest', e.g.:
+
+ make RUNTESTFLAGS=--directory=gdb.cp check
+
+If you use GNU make, you can use its `-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 `RUNTESTFLAGS' then,
+by default, the tests will be run serially even under `-j'. 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'.
+
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.
next prev parent reply other threads:[~2009-06-26 15:56 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-24 19:27 Tom Tromey
2009-06-25 3:15 ` Eli Zaretskii
2009-06-25 20:21 ` Tom Tromey
2009-06-26 6:53 ` Eli Zaretskii
2009-06-26 15:56 ` Tom Tromey [this message]
2009-06-27 9:13 ` Eli Zaretskii
2009-06-25 14:55 ` Joel Brobecker
2009-06-25 15:09 ` Tom Tromey
2009-06-25 22:58 ` Pedro Alves
2009-06-26 1:34 ` Daniel Jacobowitz
2009-06-26 17:45 ` Tom Tromey
2009-06-26 20:27 ` Joseph S. Myers
2009-06-26 23:41 ` Joel Brobecker
2009-06-29 16:43 ` Tom Tromey
2009-06-29 16:57 ` Daniel Jacobowitz
2009-06-29 18:05 ` Tom Tromey
2009-06-29 18:38 ` Daniel Jacobowitz
2009-06-29 21:17 ` Jan Kratochvil
2009-07-01 12:06 ` [patch] testsuite: Fix multiple runs in parallel on a single host [Re: RFC: parallelize "make check"] Jan Kratochvil
2009-07-06 18:39 ` Tom Tromey
2009-07-06 18:53 ` [patch] testsuite: Fix multiple runs in parallel on a single host Jan Kratochvil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m38wjfdm5l.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox