1
0
Эх сурвалжийг харах

Modified the Chapter 6 GMP instructions to include a method for determining all the tests in the test suite passed

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8655 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Randy McMurchy 17 жил өмнө
parent
commit
10d231de50

+ 4 - 0
chapter01/changelog.xml

@@ -40,6 +40,10 @@
     <listitem>
       <para>2008-10-12</para>
       <itemizedlist>
+        <listitem>
+          <para>[randy] - Modified the Chapter 6 GMP instructions to include a
+          method for determining all the tests in the test suite passed.</para>
+        </listitem>
         <listitem>
           <para>[randy] - Modified the GCC search for correct headers command
           to account for the new include-fixed directory.</para>

+ 7 - 2
chapter06/gmp.xml

@@ -68,8 +68,13 @@
 
     <para>Test the results:</para>
 
-<screen><userinput remap="test">make check</userinput></screen>
- 
+<screen><userinput remap="test">make check 2>&amp;1 | tee gmp-check-log</userinput></screen>
+
+    <para>Ensure that all 139 tests in the test suite ran successfully by
+    issuing the following command:</para>
+
+<screen><userinput remap="test">awk '/tests passed/{total+=$2} ; END{print total}' gmp-check-log</userinput></screen>
+
     <para>Install the package:</para>
 
 <screen><userinput remap="install">make install</userinput></screen>