[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: testing packages at build-time



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.  (I'm
sure this is flamebait, but it makes a lot of logistical sense.)

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

        Julian Gilbey, website: http://www.polya.uklinux.net/
   Debian GNU/Linux Developer, see: http://people.debian.org/~jdg/
     Visit http://www.thehungersite.com/ to help feed the hungry



Reply to: