Thanks.

I am fairly new to this world and I just wanted to clarify that it was ok for 
the target to end in an "error" when running the test suite.

I was under the impression that the -k switch would still end in a "target" 
success (because the tests were run) but your explanation (from the man page) 
below makes sense.

Thanks for the clarification
________________________________
From: lfs-dev-boun...@linuxfromscratch.org 
[lfs-dev-boun...@linuxfromscratch.org] on behalf of Gregory H. Nietsky 
[gregniet...@gmail.com]
Sent: 21 February 2014 09:57 AM
To: lfs-dev@linuxfromscratch.org
Subject: Re: [lfs-dev] Chapter 6 - Glibc Tests


Morning [finally someone in same time zone]

as this has been answered im adding a bit of info re "make -k switch"

using -k as a switch to make will continue on failure and not die immediately.

the target will fail overall as seen "not remade ....." using -j and -k 
together is
a good way to sledge hammer a build when its not 100% multi thread friendly
and builds things out of order.

from "man make"
---
       -k, --keep-going
            Continue as much as possible after an error.  While the target that 
failed, and those that depend on it, cannot be  remade,  the  other  
dependencies  of
            these targets can be processed all the same.
---

On 20/02/2014 15:08, Jeffery, Mark wrote:
Hello

I ran a “make” and it completed successfully.

I then ran a “make –k check 2>&1 | tee glibc-check-log”.

My question this :

Does the above “make check” fail if the expected failures(as listed in the 
book) fail ?

After the grep, I only had the expected errors, but the make ended with

make[1] : Target ‘check’ not remade because of errors.

Is that ok ?

Thanks

Jeff


To read FirstRand Bank's Disclaimer for this email click on the following 
address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html 

If you are unable to access the Disclaimer, send a blank e-mail to
firstrandbankdisclai...@fnb.co.za and we will send you a copy of the Disclaimer.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to