Re: testing packages at build-time
Op vr 10-10-2003, om 12:50 schreef Julian Gilbey:
> On Fri, Oct 10, 2003 at 01:41:42AM +0200, Matthias Urlichs wrote:
> > > 2?) We add a test target in debian/rules. Autobuilders will need to
> > > be modified to take advantage of this. We can then go farther and
> > > implement special testing facility.
> > How would you distinguish a failed test from a debian/rules file which
> > doesn't have a "test" target?
> debian/rules -q test
> Then test the value of $?
> (info make for more information)
> This, of course, assumes that debian/rules has to be a makefile.
of course not; simply specify that that option has to be implemented if
debian/rules is not a makefile.
Debian GNU/Linux -- http://www.debian.org
Nederlandstalige Linux-documentatie -- http://nl.linux.org
If you're running Microsoft Windows, either scan your computer on
viruses, or stop wasting my bandwith and remove me from your