On Fri, Jan 01, 2016 at 07:17:17PM +0100, Ludovic Courtès wrote: > > I think we should update the package definitions so that more have > > tests, and failing that import the library so we know it can at least > > be loaded, like this: > > > > + `(#:phases > > + (modify-phases %standard-phases > > + (replace 'check > > + (lambda _ > > + (zero? (system* "ruby" "-Ilib" "-r" "ansi"))))))) > > The only case where this would make a difference is for leaf packages, > no? In all the other cases, building dependent packages will ensure > that the package at hand works as expected.
Yes, this is a cheap and cheerful integration test. It does point out earlier where packages don't load. I think it is a great idea because it is 'free'. We could also do this for python packages and the like. Pj.