aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorRandy McMurchy <randy@linuxfromscratch.org>2008-10-12 21:42:55 +0000
committerRandy McMurchy <randy@linuxfromscratch.org>2008-10-12 21:42:55 +0000
commit10d231de50082b9af97fec22901c3feb1b8bec5c (patch)
treee7f88077a61d6b6b886e8e5d366e53382921d898 /chapter06
parent041c8f67aa6a1cbb0dfc6894123e3743ab025009 (diff)
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
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gmp.xml9
1 files changed, 7 insertions, 2 deletions
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>&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>