#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:
----------------------+-----------------------------------------------------
Comment(by cjwatson):
Bruce, I can't speak for check's test suite errors, but perhaps you should
report them as a bug to its maintainers if it isn't discussed in its
documentation.
pkg-config is a widespread dependency nowadays, and it's small and of
general utility. I realise LFS is pretty minimalist, but I honestly think
you'd be much better off using pkg-config rather than advising your users
to fiddle about with LDFLAGS or other similar hacks (as I see you advise
for man-db's use of libpipeline); that's a distinctly error-prone process
and doesn't seem to have much educational value either. The point of pkg-
config is that other packages and users shouldn't need to keep track of
the specifics of how libraries need to be compiled and linked against.
Matthew, check seemed a pretty good unit testing suite for C. Obviously
you're welcome to try converting to Autotest, but Autotest is designed
principally for testing things that you can run directly from a shell; it
does not look at all suitable for testing C libraries. One could no doubt
have it compile little chunks of input data on the fly and run those, but
that would be much less readable and I would be unlikely to accept such a
change. Maintainability and readability are higher priorities for me than
self-containedness.
DejaGNU looks like a somewhat better fit, although it's always struck me
as fairly big and complicated. check is much simpler to my eye, and I
found it much easier to get my head around.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2941#comment:6>
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