diff options
-rw-r--r-- | chapter01/changelog.xml | 4 | ||||
-rw-r--r-- | chapter06/gmp.xml | 9 |
2 files changed, 11 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 09683c267..f1e0e646c 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -41,6 +41,10 @@ <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> </listitem> diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml index 9069aea72..a7b6fc7af 100644 --- a/chapter06/gmp.xml +++ b/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>&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> |