[lfs] 01/02: gmp: use an easier way to get the number of PASSed tests
git Owner ([email protected] via lfs-book Mailing List) <[email protected]> Mon, 13 Jul 2026 02:27:02 +0000
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository lfs. commit e85ba7494ab304a956a4323f34d96fd6b5788cc8 Author: Xi Ruoyao <[email protected]> AuthorDate: Mon Jul 13 09:53:29 2026 +0800 gmp: use an easier way to get the number of PASSed tests --- chapter08/gmp.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter08/gmp.xml b/chapter08/gmp.xml index 19eefce0a..3ad37ead4 100644 --- a/chapter08/gmp.xml +++ b/chapter08/gmp.xml @@ -105,7 +105,7 @@ make html</userinput></screen> <para>Test the results:</para> -<screen><userinput remap="test">make check 2>&1 | tee gmp-check-log</userinput></screen> +<screen><userinput remap="test">make check</userinput></screen> <caution><para>The code in gmp is highly optimized for the processor where it is built. Occasionally, the code that detects the processor misidentifies @@ -120,7 +120,7 @@ make html</userinput></screen> <para>Ensure that at least 199 tests in the test suite passed. Check the results by issuing the following command:</para> -<screen><userinput remap="test">awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log</userinput></screen> +<screen><userinput remap="test">cat $(find -name '*.log') | grep -c ^PASS</userinput></screen> <para>Install the package and its documentation:</para> -- To stop receiving notification emails like this one, please contact the administrator of this repository. -- http://lists.linuxfromscratch.org/sympa/info/lfs-book Unsubscribe: See the above information page