[SOLVED] Skip the "tests" in the build can cause problem (in chapter 6)? [doubt]
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Skip the "tests" in the build can cause problem (in chapter 6)? [doubt]
Folks, I want to know if skip those "tests" before compilation can cause some mistake, I already know it will give error in these tests in some packages.
For example, before compiling the GCC I do the tests: make -k check. It takes hours to complete, is it okay to skip it?
...I want to know if skip those "tests" before compilation can cause some mistake...
Well, skipping the tests can't cause a mistake. But if something is wrong, you won't know about it.
Personally, I do the tests that the book says are critical. But I never do any of the other test suites, and I never do any test suites for BLFS packages. You're right...they take too long. Furthermore, I have never had any test results that were bad or unexpected. Since I build LFS and BLFS with scripts nowadays, I tee those test results to text files and look at them later. One test suite in particular, GCC, will stop a script. For that one test suite, I backup the build directories and run that long test suite after the scripts have finished. Anyway, some people here don't run the test suites. Here, for example, is a post where Krejzi gives his opinion on not running test suites...
I have always considered Krejzi to be Armin K. who is/was one of the LFS developers. Anyway, he sure seems to know what he's talking about around here.
Stoat, thanks for answering, I had already read this part of the book before actually had completed, but I inadvertently deleted the partition and lost files, then wanted to spare time to redo it. As I had done before (before deleting the partition, kkkkk) so I guess I'll have no problem with any other unexpected errors that may show up in tests, I believe it will not appear any other error.
Last edited by murilostrike; 01-16-2016 at 08:26 PM.
I do the same as stoat. I run the tests that the book says are critical. Most other tests I ignore unless I'm experimenting with optimization or settings and I want to know if things are going well.
"Ciritical" tests are useless. Most of them only check how well a package conforms to a latest standard (who cares who builds LFS anyways?) and if a bug has appeared again during the development cycle. Sanity checks are good enough to see if something went wrong. If they are not according to the book, you screwed up. And test suite won't detect it, because it will pass - you'll just get a system that links to /tools - again: those tests are useless.
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137
Rep:
I only do the the checks to make sure that stuff is compiled correctly and the right lib path and include path is searched etc and only in chapter 6 anyway, never yet had any problems, touch wood.
I only do the the checks to make sure that stuff is compiled correctly and the right lib path and include path is searched etc and only in chapter 6 anyway, never yet had any problems, touch wood.
As I said, make check won't reveal that. It will pass, even if the toolchain links to libraries in /tools. Sanity checks are the only way to find that out. Rest of the gcc/glibc testsuite is useless.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.