aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-10-05 18:32:56 +0800
committerXi Ruoyao <xry111@xry111.site>2022-10-05 18:32:56 +0800
commitceb61b9e387616b89dc36aed1692536d404c93a7 (patch)
tree489440507ebeb4e2f770854d921a827497c493ad
parent8921ba4bae26e713fa6ef7585ff0e6ab3669f8a4 (diff)
binutils: add a command to list failed tests
-rw-r--r--chapter08/binutils.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml
index cb2619a73..c969eab00 100644
--- a/chapter08/binutils.xml
+++ b/chapter08/binutils.xml
@@ -160,6 +160,10 @@ cd build</userinput></screen>
<screen><userinput remap="test">make -k check</userinput></screen>
+ <para>For a list of failed tests, run:</para>
+
+<screen><userinput remap="test">grep '^FAIL:' $(find -name '*.log')</userinput></screen>
+
<para>Twelve tests fail in the gold testsuite when the
<option>--enable-default-pie</option> and
<option>--enable-default-ssp</option> options are passed to GCC.