From 0841437890915f7f6050da9f1066bf814439cd48 Mon Sep 17 00:00:00 2001 From: Jeremy Utley Date: Thu, 11 Sep 2003 20:07:44 +0000 Subject: [PATCH] Dropped non-toolchain tests to optional git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2771 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 3 +++ chapter02/askforhelp.xml | 11 +++++++++++ chapter05/bash-inst.xml | 4 +++- chapter05/coreutils-inst.xml | 4 +++- chapter05/expect-inst.xml | 17 +++++++++++------ chapter05/findutils-inst.xml | 4 +++- chapter05/gettext-inst.xml | 5 +++-- chapter05/grep-inst.xml | 4 +++- chapter05/make-inst.xml | 4 +++- chapter05/sed-inst.xml | 4 +++- chapter05/tar-inst.xml | 4 +++- chapter05/tcl-inst.xml | 25 +++++++++++++++++-------- chapter05/texinfo-inst.xml | 4 +++- chapter06/autoconf-inst.xml | 4 +++- chapter06/automake-inst.xml | 4 +++- chapter06/bash-inst.xml | 4 +++- chapter06/bison-inst.xml | 4 +++- chapter06/coreutils-inst.xml | 4 +++- chapter06/diffutils-inst.xml | 4 +++- chapter06/e2fsprogs-inst.xml | 4 +++- chapter06/ed-inst.xml | 4 +++- chapter06/findutils-inst.xml | 4 +++- chapter06/flex-inst.xml | 4 +++- chapter06/gawk-inst.xml | 4 +++- chapter06/gettext-inst.xml | 4 +++- chapter06/grep-inst.xml | 4 +++- chapter06/libtool-inst.xml | 4 +++- chapter06/m4-inst.xml | 4 +++- chapter06/make-inst.xml | 4 +++- chapter06/patch-inst.xml | 4 +++- chapter06/perl-inst.xml | 4 +++- chapter06/sed-inst.xml | 4 +++- chapter06/tar-inst.xml | 4 +++- chapter06/texinfo-inst.xml | 4 +++- chapter06/zlib-inst.xml | 16 ++++++++++++---- 35 files changed, 144 insertions(+), 49 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 0cae7132d..a1cea4f90 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -83,6 +83,9 @@ +September 11th, 2003 [jeremy]: Dropped non-toolchain tests +to optional actions. Added a note to use the wiki for failed tests. + September 11th, 2003 [jeremy]: Added Bison patch, backported from CVS, to fix pwlib compilation problems diff --git a/chapter02/askforhelp.xml b/chapter02/askforhelp.xml index 645b6ac37..1e980cec1 100644 --- a/chapter02/askforhelp.xml +++ b/chapter02/askforhelp.xml @@ -87,5 +87,16 @@ need. + +Testsuite problems + +Many of the testsuite for packages will generate false errors. When +you encounter these, you can check the LFS Wiki page at + for our results, to see if +our testing also shows the checks to be failing. + + + + diff --git a/chapter05/bash-inst.xml b/chapter05/bash-inst.xml index eab96f228..b181413e6 100644 --- a/chapter05/bash-inst.xml +++ b/chapter05/bash-inst.xml @@ -16,7 +16,9 @@ patch: make -Check that it works correctly: +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: make tests diff --git a/chapter05/coreutils-inst.xml b/chapter05/coreutils-inst.xml index 277c045e3..0d3534b93 100644 --- a/chapter05/coreutils-inst.xml +++ b/chapter05/coreutils-inst.xml @@ -11,7 +11,9 @@ make -Test the results thoroughly: +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: make RUN_EXPENSIVE_TESTS=yes check diff --git a/chapter05/expect-inst.xml b/chapter05/expect-inst.xml index 73fefd214..a0e0ac1f3 100644 --- a/chapter05/expect-inst.xml +++ b/chapter05/expect-inst.xml @@ -14,14 +14,19 @@ GCC test suite run. ./configure --prefix=/tools --with-tcl=/tools/lib --with-x=no -Build, test, and install the package: +Build the package: -make -make test -make install +make -Note that also here some of the tests might fail, and that this is not a -problem here either. +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: + +make test + +And install: + +make install You can now remove the source directories of both Tcl and Expect. diff --git a/chapter05/findutils-inst.xml b/chapter05/findutils-inst.xml index a43cf15bf..363449bd2 100644 --- a/chapter05/findutils-inst.xml +++ b/chapter05/findutils-inst.xml @@ -11,7 +11,9 @@ make -Test the results: +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: make check diff --git a/chapter05/gettext-inst.xml b/chapter05/gettext-inst.xml index dd93ed683..798393ca9 100644 --- a/chapter05/gettext-inst.xml +++ b/chapter05/gettext-inst.xml @@ -11,8 +11,9 @@ make -Check that the programs work correctly (this takes so long you can go -for a walk): +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: make check diff --git a/chapter05/grep-inst.xml b/chapter05/grep-inst.xml index e72404e54..6051ffd2e 100644 --- a/chapter05/grep-inst.xml +++ b/chapter05/grep-inst.xml @@ -12,7 +12,9 @@ make -Check that the programs work correctly: +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: make check diff --git a/chapter05/make-inst.xml b/chapter05/make-inst.xml index 7f5d2b18e..529f2d3d4 100644 --- a/chapter05/make-inst.xml +++ b/chapter05/make-inst.xml @@ -11,7 +11,9 @@ make -Test the program: +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: make check diff --git a/chapter05/sed-inst.xml b/chapter05/sed-inst.xml index 9a5bf4111..c7bd03ec5 100644 --- a/chapter05/sed-inst.xml +++ b/chapter05/sed-inst.xml @@ -11,7 +11,9 @@ make -Test the program: +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: make check diff --git a/chapter05/tar-inst.xml b/chapter05/tar-inst.xml index be4c2f075..316ad2541 100644 --- a/chapter05/tar-inst.xml +++ b/chapter05/tar-inst.xml @@ -11,7 +11,9 @@ make -Check that the programs work correctly: +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: make check diff --git a/chapter05/tcl-inst.xml b/chapter05/tcl-inst.xml index a0be4332d..8589d0ff8 100644 --- a/chapter05/tcl-inst.xml +++ b/chapter05/tcl-inst.xml @@ -13,20 +13,29 @@ essential, to know that our most important tools are working properly. cd unix ./configure --prefix=/tools -Build, test, and install the package: +Build, the package: -make -make -k test -make install +make -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. +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: + +TZ=UTC make -k test + +Sometimes, package testsuites will give false failures. You can +consult the LFS Wiki at +to verify that these failures are normal. This applies to all tests +throughout the book. + +Install the package: + +make install Make a link: ln -s tclsh8.4 /tools/bin/tclsh -Do not remove the +Do not remove the tcl&tcl-version; source directory yet, as the next package will need its internal headers. diff --git a/chapter05/texinfo-inst.xml b/chapter05/texinfo-inst.xml index 6cb7bbb0b..7ce35619a 100644 --- a/chapter05/texinfo-inst.xml +++ b/chapter05/texinfo-inst.xml @@ -11,7 +11,9 @@ make -Check that the programs work correctly: +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: make check diff --git a/chapter06/autoconf-inst.xml b/chapter06/autoconf-inst.xml index de0f8160f..0f33c0ca9 100644 --- a/chapter06/autoconf-inst.xml +++ b/chapter06/autoconf-inst.xml @@ -10,7 +10,9 @@ make -Test the results: +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: make check diff --git a/chapter06/automake-inst.xml b/chapter06/automake-inst.xml index deb241e12..ebafae19f 100644 --- a/chapter06/automake-inst.xml +++ b/chapter06/automake-inst.xml @@ -11,7 +11,9 @@ make -Test the results: +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: make check diff --git a/chapter06/bash-inst.xml b/chapter06/bash-inst.xml index 003d02f93..4f0647c34 100644 --- a/chapter06/bash-inst.xml +++ b/chapter06/bash-inst.xml @@ -17,7 +17,9 @@ patch: make -Test the results: +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: make tests diff --git a/chapter06/bison-inst.xml b/chapter06/bison-inst.xml index 3eb085a32..8e745ffcf 100644 --- a/chapter06/bison-inst.xml +++ b/chapter06/bison-inst.xml @@ -16,7 +16,9 @@ compliation problem with some packages: make -Test the results: +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: make check diff --git a/chapter06/coreutils-inst.xml b/chapter06/coreutils-inst.xml index f84b48c43..cebd1839e 100644 --- a/chapter06/coreutils-inst.xml +++ b/chapter06/coreutils-inst.xml @@ -23,7 +23,9 @@ provided by Net-tools. Prevent its installation by applying a patch: make -Test the results thoroughly: +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: make check-root make RUN_EXPENSIVE_TESTS=yes check diff --git a/chapter06/diffutils-inst.xml b/chapter06/diffutils-inst.xml index 2440cecd4..7fa26aa8f 100644 --- a/chapter06/diffutils-inst.xml +++ b/chapter06/diffutils-inst.xml @@ -11,7 +11,9 @@ make -Test the results: +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: make check diff --git a/chapter06/e2fsprogs-inst.xml b/chapter06/e2fsprogs-inst.xml index bf5e3a154..e2fff07e0 100644 --- a/chapter06/e2fsprogs-inst.xml +++ b/chapter06/e2fsprogs-inst.xml @@ -36,7 +36,9 @@ of. make -Test the results: +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: make check diff --git a/chapter06/ed-inst.xml b/chapter06/ed-inst.xml index ee6805bf3..f31a7e9ea 100644 --- a/chapter06/ed-inst.xml +++ b/chapter06/ed-inst.xml @@ -27,7 +27,9 @@ create temporary files. make -Test the results: +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: make check diff --git a/chapter06/findutils-inst.xml b/chapter06/findutils-inst.xml index a43fc1dad..e4f2da960 100644 --- a/chapter06/findutils-inst.xml +++ b/chapter06/findutils-inst.xml @@ -17,7 +17,9 @@ make -Test the results: +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: make check diff --git a/chapter06/flex-inst.xml b/chapter06/flex-inst.xml index 6e908ad35..50a2cbb2d 100644 --- a/chapter06/flex-inst.xml +++ b/chapter06/flex-inst.xml @@ -11,7 +11,9 @@ make -Test the results: +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: make bigcheck diff --git a/chapter06/gawk-inst.xml b/chapter06/gawk-inst.xml index b96c42e87..f989517fb 100644 --- a/chapter06/gawk-inst.xml +++ b/chapter06/gawk-inst.xml @@ -41,7 +41,9 @@ with its contents on a make uninstall. make -Test the results: +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: make check diff --git a/chapter06/gettext-inst.xml b/chapter06/gettext-inst.xml index c35ff0f5b..05866cabf 100644 --- a/chapter06/gettext-inst.xml +++ b/chapter06/gettext-inst.xml @@ -11,7 +11,9 @@ make -Test the results: +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: make check diff --git a/chapter06/grep-inst.xml b/chapter06/grep-inst.xml index 4345f7a49..2695de465 100644 --- a/chapter06/grep-inst.xml +++ b/chapter06/grep-inst.xml @@ -12,7 +12,9 @@ make -Test the results: +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: make check diff --git a/chapter06/libtool-inst.xml b/chapter06/libtool-inst.xml index 9e8456264..541adf737 100644 --- a/chapter06/libtool-inst.xml +++ b/chapter06/libtool-inst.xml @@ -11,7 +11,9 @@ make -Test the results: +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: make check diff --git a/chapter06/m4-inst.xml b/chapter06/m4-inst.xml index af4cf6908..8f98c87df 100644 --- a/chapter06/m4-inst.xml +++ b/chapter06/m4-inst.xml @@ -11,7 +11,9 @@ make -Test the results: +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: make check diff --git a/chapter06/make-inst.xml b/chapter06/make-inst.xml index 2b8248d1e..1ca97b9ce 100644 --- a/chapter06/make-inst.xml +++ b/chapter06/make-inst.xml @@ -11,7 +11,9 @@ make -Test the results: +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: make check diff --git a/chapter06/patch-inst.xml b/chapter06/patch-inst.xml index eb3635605..8ef395093 100644 --- a/chapter06/patch-inst.xml +++ b/chapter06/patch-inst.xml @@ -11,7 +11,9 @@ make -Test the results: +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: make check diff --git a/chapter06/perl-inst.xml b/chapter06/perl-inst.xml index 5d90fdc99..f0860cb2e 100644 --- a/chapter06/perl-inst.xml +++ b/chapter06/perl-inst.xml @@ -17,7 +17,9 @@ above. make -Test the results: +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: make test diff --git a/chapter06/sed-inst.xml b/chapter06/sed-inst.xml index 4784ed4cc..e43ce3702 100644 --- a/chapter06/sed-inst.xml +++ b/chapter06/sed-inst.xml @@ -11,7 +11,9 @@ make -Test the results: +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: make check diff --git a/chapter06/tar-inst.xml b/chapter06/tar-inst.xml index aa9112405..d7bba9334 100644 --- a/chapter06/tar-inst.xml +++ b/chapter06/tar-inst.xml @@ -12,7 +12,9 @@ make -Test the results: +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: make check diff --git a/chapter06/texinfo-inst.xml b/chapter06/texinfo-inst.xml index 4dc11144f..8db6ee4ee 100644 --- a/chapter06/texinfo-inst.xml +++ b/chapter06/texinfo-inst.xml @@ -11,7 +11,9 @@ make -Test the results: +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: make check diff --git a/chapter06/zlib-inst.xml b/chapter06/zlib-inst.xml index b00d14499..e48f454e5 100644 --- a/chapter06/zlib-inst.xml +++ b/chapter06/zlib-inst.xml @@ -26,12 +26,20 @@ directive during this stage, and remove it after. make install -Now also build and install the non-shared libraries: +Now also build the non-shared libraries: make clean ./configure --prefix=/usr -make -make test -make install +make + +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: + +make test + +And install the package: + +make install The shared Zlib library should be installed in the /lib directory. That way, in the event