OSDN Git Service

* gdbint.texinfo (Testsuite): Document parallel make check.
authorTom Tromey <tromey@redhat.com>
Fri, 10 Jul 2009 19:38:00 +0000 (19:38 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 10 Jul 2009 19:38:00 +0000 (19:38 +0000)
gdb/doc/ChangeLog
gdb/doc/gdbint.texinfo

index 1455a1e..6842ec3 100644 (file)
@@ -1,5 +1,9 @@
 2009-07-09  Tom Tromey  <tromey@redhat.com>
 
+       * gdbint.texinfo (Testsuite): Document parallel make check.
+
+2009-07-09  Tom Tromey  <tromey@redhat.com>
+
        * gdbint.texinfo (Testsuite): Document test transcripts.
 
 2009-07-10  Phil Muldoon  <pmuldoon@redhat.com>
index 3351a15..b1c0452 100644 (file)
@@ -7519,6 +7519,16 @@ make check RUNTESTFLAGS='@var{tests}'
 where @var{tests} is a list of test script file names, separated by
 spaces.
 
+If you use GNU make, you can use its @option{-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 @option{-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 @kbd{make check} assumes
+that you want to run the entire testsuite, so it is not compatible
+with some dejagnu options, like @option{--directory}.
+
 The ideal test run consists of expected passes only; however, reality
 conspires to keep us from this ideal.  Unexpected failures indicate
 real problems, whether in @value{GDBN} or in the testsuite.  Expected