#9496: cmake-3.9.0
-------------------------+-----------------------
Reporter: bdubbs@… | Owner: ken@…
Type: enhancement | Status: assigned
Priority: normal | Milestone: 8.1
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: |
-------------------------+-----------------------
Comment (by ken@…):
Working fine, but the testsuite has been doing my head in. Fortunately, I
ignore testsuites for almost everything in BLFS, unless I'm editing (it
wouldn't be the first time if all existing tests worked, but a change in
the current version made it unuseful).
On first run of the tests, yesterday, I got one failure - LinkStatic.
Well duh, I hide almost all of my static libs, so that wasn't unexpected
(I didn't know it would test that).
So, I made sure that libm.a (which it uses) and libc.a were available
(libc_nonshared.a is always available). No change. So I knocked up a
script to make ALL static libs (except those few that I've deleted)
available - no joy.
Then I looked at the test - a comment suggests it fails if the shared libm
is used, so I tried hiding that - bad move, many failures and that test
was amongst them.
Today, I've been trying to manually link that test, and totally failing
(why are the commands to link test progs often so hard to find ?). So I
gave it another attempt (fresh build, all static libs available).
I'd hoped that by just providing the test name, it might only run that
test. But it ran them all - this time, 163 LinkStatic passed, but 218 -
CTestTestStopTime failed (it timed out on a system that was otherwise idle
apart from a browser).
That one worked fine a couple of times yesterday, so just one of those
things.
After that test run had started, and was clearly running through all the
tests, I gurgled a bit more and found that bin/ctest -V might provide more
info. Trying that now on 3.8.2, it provides a lot of the usual cmake
noise about scanning dependencies, building, etc but it does appear to
show the commands with a bit more detail. The log is, of course, massively
bigger. and even with -j4 -O the output from each test (numbered) is at
times mixed up. But those numbers do not seem to match the test numbers,
so in the absence of any failures (and more particularly any error
messages for linkage failures) I cannot recommend that.
Totally unrelated to the testing: if MAKEFLAGS have been exported (e.g. as
-j4 -O) even the bootstrap will run using 4 cores.
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/9496#comment:2>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page