Selaa lähdekoodia

Dropped non-toolchain tests to optional

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2771 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Utley 22 vuotta sitten
vanhempi
commit
0841437890

+ 3 - 0
chapter01/changelog.xml

@@ -83,6 +83,9 @@
 </itemizedlist>
 </para></listitem>
 
+<listitem><para>September 11th, 2003 [jeremy]: Dropped non-toolchain tests
+to optional actions.  Added a note to use the wiki for failed tests.</para></listitem>
+
 <listitem><para>September 11th, 2003 [jeremy]: Added Bison patch, backported
 from CVS, to fix pwlib compilation problems</para></listitem>
 

+ 11 - 0
chapter02/askforhelp.xml

@@ -87,5 +87,16 @@ need.</para>
 
 </sect2>
 
+<sect2>
+<title>Testsuite problems</title>
+
+<para>Many of the testsuite for packages will generate false errors.  When
+you encounter these, you can check the LFS Wiki page at
+<ulink url="http://wiki.linuxfromscratch.org"/> for our results, to see if
+our testing also shows the checks to be failing.</para>
+
+</sect2>
+
+
 </sect1>
 

+ 3 - 1
chapter05/bash-inst.xml

@@ -16,7 +16,9 @@ patch:</para>
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Check that it works correctly:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make tests</userinput></screen></para>
 

+ 3 - 1
chapter05/coreutils-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results thoroughly:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput></screen></para>
 

+ 11 - 6
chapter05/expect-inst.xml

@@ -14,14 +14,19 @@ GCC test suite run.</para>
 
 <para><screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib --with-x=no</userinput></screen></para>
 
-<para>Build, test, and install the package:</para>
+<para>Build the package:</para>
 
-<para><screen><userinput>make
-make test
-make install</userinput></screen></para>
+<para><screen><userinput>make</userinput></screen></para>
 
-<para>Note that also here some of the tests might fail, and that this is not a
-problem here either.</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
+
+<para><screen><userinput>make test</userinput></screen></para>
+
+<para>And install:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
 
 <para>You can now remove the source directories of both Tcl and Expect.</para>
 

+ 3 - 1
chapter05/findutils-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make </userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 2
chapter05/gettext-inst.xml

@@ -11,8 +11,9 @@
 
 <para><screen><userinput>make </userinput></screen></para>
 
-<para>Check that the programs work correctly (this takes so long you can go
-for a walk):</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter05/grep-inst.xml

@@ -12,7 +12,9 @@
 
 <para><screen><userinput>make </userinput></screen></para>
 
-<para>Check that the programs work correctly:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter05/make-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make </userinput></screen></para>
 
-<para>Test the program:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter05/sed-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make </userinput></screen></para>
 
-<para>Test the program:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter05/tar-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make </userinput></screen></para>
 
-<para>Check that the programs work correctly:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 17 - 8
chapter05/tcl-inst.xml

@@ -13,20 +13,29 @@ essential, to know that our most important tools are working properly.</para>
 <para><screen><userinput>cd unix
 ./configure --prefix=/tools</userinput></screen></para>
 
-<para>Build, test, and install the package:</para>
+<para>Build, the package:</para>
 
-<para><screen><userinput>make 
-make -k test
-make install</userinput></screen></para>
+<para><screen><userinput>make</userinput></screen></para>
 
-<para>Note that several of the tests may fail (for exmple the clock test).
-This is, however, not a problem: the program will work well enough to be able
-to run the GCC and Binutils test suites.</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
+
+<para><screen><userinput>TZ=UTC make -k test</userinput></screen></para>
+
+<para>Sometimes, package testsuites will give false failures.  You can
+consult the LFS Wiki at <ulink url="http://wiki.linuxfromscratch.org"/>
+to verify that these failures are normal.  This applies to all tests
+throughout the book.</para>
+
+<para>Install the package:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
 
 <para>Make a link:</para>
 <para><screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen></para>
 
-<caution><para><emphasis>Do not remove</emphasis> the
+<caution><para>Do not remove the
 <filename>tcl&tcl-version;</filename> source directory yet, as the next package
 will need its internal headers.</para></caution>
 

+ 3 - 1
chapter05/texinfo-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make </userinput></screen></para>
 
-<para>Check that the programs work correctly:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/autoconf-inst.xml

@@ -10,7 +10,9 @@
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/automake-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/bash-inst.xml

@@ -17,7 +17,9 @@ patch:</para>
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make tests</userinput></screen></para>
 

+ 3 - 1
chapter06/bison-inst.xml

@@ -16,7 +16,9 @@ compliation problem with some packages:</para>
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/coreutils-inst.xml

@@ -23,7 +23,9 @@ provided by Net-tools. Prevent its installation by applying a patch:</para>
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results thoroughly:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check-root
 make RUN_EXPENSIVE_TESTS=yes check</userinput></screen></para>

+ 3 - 1
chapter06/diffutils-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/e2fsprogs-inst.xml

@@ -36,7 +36,9 @@ of.</para></listitem>
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/ed-inst.xml

@@ -27,7 +27,9 @@ create temporary files.</para>
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/findutils-inst.xml

@@ -17,7 +17,9 @@
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/flex-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make bigcheck</userinput></screen></para>
 

+ 3 - 1
chapter06/gawk-inst.xml

@@ -41,7 +41,9 @@ with its contents on a make uninstall.</para></listitem>
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/gettext-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/grep-inst.xml

@@ -12,7 +12,9 @@
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/libtool-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/m4-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/make-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/patch-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/perl-inst.xml

@@ -17,7 +17,9 @@ above.</para>
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make test</userinput></screen></para>
 

+ 3 - 1
chapter06/sed-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/tar-inst.xml

@@ -12,7 +12,9 @@
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 3 - 1
chapter06/texinfo-inst.xml

@@ -11,7 +11,9 @@
 
 <para><screen><userinput>make</userinput></screen></para>
 
-<para>Test the results:</para>
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
 
 <para><screen><userinput>make check</userinput></screen></para>
 

+ 12 - 4
chapter06/zlib-inst.xml

@@ -26,12 +26,20 @@ directive during this stage, and remove it after.</para>
 
 <para><screen><userinput>make install</userinput></screen></para>
 
-<para>Now also build and install the non-shared libraries:</para>
+<para>Now also build the non-shared libraries:</para>
 <para><screen><userinput>make clean
 ./configure --prefix=/usr
-make
-make test
-make install</userinput></screen></para>
+make</userinput></screen></para>
+
+<para>This package has a testsuite available which can perform a number of 
+checks to ensure it built correctly.  Should you choose to run it, the 
+following command will do so:</para>
+
+<para><screen><userinput>make test</userinput></screen></para>
+
+<para>And install the package:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
 
 <para>The shared Zlib library should be installed in the
 <filename>/lib</filename> directory. That way, in the event