aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-08-28 16:57:45 +0800
committerXi Ruoyao <xry111@xry111.site>2023-08-28 17:01:02 +0800
commite5455293e338907c4a3cf9a461a7544083d7c762 (patch)
tree4166ca4c0c963672b7011a344945a1574c395a94
parentd78b550655e3426de645121c079cd4c2a1118f55 (diff)
tar: Mention TESTSUITEFLAGS for testing
-rw-r--r--chapter08/tar.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/chapter08/tar.xml b/chapter08/tar.xml
index bfb1cf469..e55ad664d 100644
--- a/chapter08/tar.xml
+++ b/chapter08/tar.xml
@@ -72,6 +72,13 @@
<screen><userinput remap="test">make check</userinput></screen>
+ <!-- On one system the -j4 improvement is 167s - 46s = 121s (72.46%) -->
+ <note><para>The test time for Tar can be reduced significantly on a
+ system with multiple cores. To do this, append
+ <command>TESTSUITEFLAGS=-j&lt;N&gt;</command> to the line above. For
+ instance, using -j4 can reduce the test time by over 70
+ percent.</para></note>
+
<para>One test, capabilities: binary store/restore, is known to fail if it is
run because LFS lacks selinux, but will be skipped if the host kernel does
not support extended attributes on the filesystem used for building LFS.</para>