This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

PATCH: Improve Documentation of Testsuite -- install/test.html


There's a looong way to go, but here is a first round of improvements:

  Make the documentation more concise. Improve presentation. Fix markup.

Installed.

Gerald

Index: test.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/install/test.html,v
retrieving revision 1.21
diff -c -3 -p -r1.21 test.html
*** test.html	2000/10/11 19:33:57	1.21
--- test.html	2000/11/26 21:27:44
*************** testsuite.</strong></p>
*** 14,41 ****
  <p>Before you install GCC, you might wish to run the testsuite. This
  step is optional and may require you to download additional software.</p>

! <p>First, you must have downloaded the testsuites; the full distribution
! contains testsuites.  If you downloaded the "core" compiler plus any front
! ends, then you do not have the testsuites.  You can download the testsuites
! from the same site where you downloaded the core distribution and language
! front ends.</p>
!
! <p>Second, you must have a new version of dejagnu on your system; dejagnu-1.3
! will not work.  We have made dejagnu snapshots available in
! <a href="ftp://gcc.gnu.org/pub/gcc/infrastructure">
! gcc.gnu.org:/pub/gcc/infrastructure</a> until a new version of
! dejagnu can be released.  If you find multiple snapshots of dejagnu
! there, you should probably get the most recent one.
! (Note, dejagnu will not build/run on NEXTSTEP systems.)</p>
!
!
! <p>Assuming you've got the testsuites unpacked and have installed an
! appropriate dejagnu, you can run the testsuite with `<code>cd
! <i>objdir</i>; make -k check</code>`.
! This may take a long time.  Go get some lunch.</p>

  <p>The testing process will try to test as many components in the GCC
! distribution as possible, including the C, C++ and Fortran compiler as
  well as the C++ runtime libraries.</p>


--- 14,36 ----
  <p>Before you install GCC, you might wish to run the testsuite. This
  step is optional and may require you to download additional software.</p>

! <p>First, you must have <a href="download.html">downloaded the
! testsuites</a>. The full distribution contains testsuites; only if you
! downloaded the "core" compiler plus any front ends, you do not have the
! testsuites.</p>
!
! <p>Second, you must have a new version of dejagnu on your system;
! dejagnu 1.3 will not work.  We have made dejagnu snapshots available at
! <a href="ftp://gcc.gnu.org/pub/gcc/infrastructure">ftp://gcc.gnu.org:/pub/gcc/infrastructure</a>
! until a new version of dejagnu has been released.</p>
!
! <p>Finally, you can run the testsuite (which may take a long time):</p>
! <blockquote><code>
! cd <i>objdir</i>; make -k check
! </code></blockquote>

  <p>The testing process will try to test as many components in the GCC
! distribution as possible, including the C, C++ and Fortran compilers as
  well as the C++ runtime libraries.</p>


*************** well as the C++ runtime libraries.</p>
*** 44,60 ****
  <p>As a first possibility to cut down the number of tests that are run it is
  possible to use `<code>make check-gcc</code>` or `<code>make check-g++</code>`
  in the gcc subdirectory of the object directory. To further cut down the
! tests the following is possible:
! <pre>
    make check-gcc RUNTESTFLAGS="execute.exp &lt;other options&gt;"
! </pre>
! This will run all gcc execute tests in the testsuite.
! <pre>
    make check-g++ RUNTESTFLAGS="old-deja.exp=9805* &lt;other options&gt;"
! </pre>
! This will run the g++ "old-deja" tests in the testsuite where the filename mat
! ches 9805*.

  <p>The *.exp files are located in the testsuite directories of the GCC
  source, the most important ones being compile.exp, execute.exp, dg.exp
  and old-deja.exp. To get a list of the possible *.exp files, pipe the
--- 39,59 ----
  <p>As a first possibility to cut down the number of tests that are run it is
  possible to use `<code>make check-gcc</code>` or `<code>make check-g++</code>`
  in the gcc subdirectory of the object directory. To further cut down the
! tests the following is possible:</p>
!
! <blockquote><code>
    make check-gcc RUNTESTFLAGS="execute.exp &lt;other options&gt;"
! </code></blockquote>
!
! <p>This will run all gcc execute tests in the testsuite.</p>
!
! <blockquote><code>
    make check-g++ RUNTESTFLAGS="old-deja.exp=9805* &lt;other options&gt;"
! </code></blockquote>

+ <p>This will run the g++ "old-deja" tests in the testsuite where the filename
+ matches 9805*.</p>
+
  <p>The *.exp files are located in the testsuite directories of the GCC
  source, the most important ones being compile.exp, execute.exp, dg.exp
  and old-deja.exp. To get a list of the possible *.exp files, pipe the
*************** output of `<code>make check</code>` into
*** 62,68 ****
  "<code>Running ...  .exp</code>" lines.


-
  <h2>How to interpret test results</h2>

  <p>After the testsuite has run you'll find various *.sum and *.log
--- 61,66 ----
*************** to fix this problem in future releases.<
*** 89,104 ****
  <h2>Submitting test results</h2>

  <p>If you want to report the results to the GCC project, use the
! <code>contrib/test_summary</code> shell script. Start it in the objdir with
! <pre>
! .../gcc-src/contrib/test_summary -p your_commentary.txt -m gcc-testresults@gcc.gnu.org |sh
! </pre>

  <p>This script uses the <code>Mail</code> program to send the results, so
! make sure it is in your PATH. The file your_commentary_.txt is
  prepended to the testsuite summary and should contain any special
  remarks you have on your results or your build environment. Please
! don't edit the testsuite result block or the subject line, as these
  messages are automatically parsed and presented at the <a
  href="http://gcc.gnu.org/testresults/">GCC testresults</a> web
  page.  Here you can also gather information on how specific tests
--- 87,102 ----
  <h2>Submitting test results</h2>

  <p>If you want to report the results to the GCC project, use the
! <code>contrib/test_summary</code> shell script. Start it in the objdir with</p>
! <blockquote><code>
! <i>srcdir</i>/contrib/test_summary -p your_commentary.txt -m gcc-testresults@gcc.gnu.org |sh
! </code></blockquote>

  <p>This script uses the <code>Mail</code> program to send the results, so
! make sure it is in your PATH. The file your_commentary.txt is
  prepended to the testsuite summary and should contain any special
  remarks you have on your results or your build environment. Please
! do not edit the testsuite result block or the subject line, as these
  messages are automatically parsed and presented at the <a
  href="http://gcc.gnu.org/testresults/">GCC testresults</a> web
  page.  Here you can also gather information on how specific tests


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