LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 01-16-2016, 05:53 PM   #1
murilostrike
LQ Newbie
 
Registered: Jan 2016
Posts: 7

Rep: Reputation: Disabled
Question 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?
 
Old 01-16-2016, 08:07 PM   #2
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
Quote:
Originally Posted by murilostrike

...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...
http://www.linuxquestions.org/questi...0/#post5451050
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.
 
1 members found this post helpful.
Old 01-16-2016, 08:24 PM   #3
murilostrike
LQ Newbie
 
Registered: Jan 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-17-2016, 09:44 AM   #4
huffdad
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware & LFS
Posts: 31

Rep: Reputation: 6
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.
 
Old 01-17-2016, 11:29 AM   #5
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
"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.
 
Old 01-19-2016, 05:44 AM   #6
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
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.
 
Old 01-20-2016, 02:33 PM   #7
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
Quote:
Originally Posted by Keith Hedger View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] troubles with bash script tests "-z" and "-n" SaintDanBert Linux - Software 7 04-10-2012 09:26 AM
Skip "Installation Method" and "Select Partition" screens using boot options tclappsdba Linux - Newbie 1 11-26-2010 05:31 AM
How do I skip/jump to a "particular place" or "specified time/second" in mplayer? Aidin Sabetian Linux - Software 3 04-20-2010 06:46 PM
LFS 6.3 Chapter 5.4.1 - problem with "make bootstrap" vipernicus42 Linux From Scratch 3 04-21-2008 08:58 PM
doubt with "make check" of gcc in chapter 6 lfs_rocks Linux From Scratch 1 02-13-2008 12:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration