Ken Moffat wrote:
On Thu, May 04, 2017 at 12:14:40AM -0700, Paul Rogers wrote:
For some uses I'd like my build scripts to not fail on tests that will
be ignored anyhow.  In automake-1.15 three FAILs seem to be common and
due to flawed tests, notably check12{,-w}.  I have added the following
commands to my scripts to avert these FAILed tests:

# check12 is known to fail, debian removes them so we will too
rm -f t/check12{,-w}.sh &&
sed  -e '/t\/check12.sh/d' -e '/t\/check12-w.log/d' -e
's/t\/check12-w.sh//' \
   -i Makefile.in &&
sed '/t\/check12-w/d' -i t/testsuite-part.am &&
sed '/t\/check12/d' -i t/list-of-tests.mk &&
# remove another known failure
sed -e '/t\/distcheck-no-prefix-or-srcdir-override.sh/d' -i Makefile.in
&&

Paul spoke to me off-list about this, so although I don't think it
is necessary to not run tests which will fail, I suggested he post
this here.

However, looking back at my logs - my first build of 8.0-rc1 was on
my i7 and there I *did* get 4 failures like the book says.  In *all*
my subsequent builds (8.0 and svn) on all my machines I only got the
three failures Paul has suppressed above.  But as I said to him -
different people get different failures.

The fourth was t/subobj.sh, a quick look suggests it usually
passes.

I think the code above is a little too much for the book. We do document the failures. If it was one or two lines, then I'd be OK with it.

Don't misunderstand. I like the concept and will put it in my script for automake. I just think it puts a little too much emphasis on the tests in the book.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to