#2941: libpipeline documentation wrongly claims that it does not have a test
suite
----------------------+-----------------------------------------------------
Reporter: cjwatson | Owner: bdubbs@…
Type: defect | Status: assigned
Priority: normal | Milestone: 7.0
Component: Book | Version: SVN
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
Changes (by bdubbs@…):
* owner: lfs-book@… => bdubbs@…
* status: new => assigned
* milestone: => 7.0
Comment:
OK, I was able to make the tests work. This is the process. The user
needs to download
http://sourceforge.net/projects/check/files/check/0.9.8/check-0.9.8.tar.gz
The build is a simple 'configure --prefix=/usr && make && make install'
This package has a 'make check' of it's own that takes quite a long time.
I got some errors from that:
{{{
Running suite(s): Setup Sig
0%: Checks: 1, Failures: 0, Errors: 1
check_check_fixture.c:139:S:Setup Sig:test_sub_fail:0: (after this point)
Received signal 8 (Floating point exception)
Running suite(s): Teardown Sig
0%: Checks: 1, Failures: 0, Errors: 1
check_check_fixture.c:145:S:Teardown Sig:test_sub_pass:0: (after this
point) Received signal 8 (Floating point exception)
}}}
I can't tell if these are expected or not but at the end, it said "All 5
tests passed"
Then the user needs to do:
{{{
cd tests
sed -i 's/^LDFLAGS =/& -lcheck/'
make check
cd ..
}}}
If pkg-config and check are present, then libpipeline only needs
{{{
./configure --prefix=/usr
make
make check
make install
}}}
Right now, I'm inclined to fix this ticket with a comment that the check
package and pkg-config need to be installed to run the 'make check'
command from libpipeline.
Other opinions?
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2941#comment:4>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page