Examples and regression test for tmexpand

Rafael Laboissiere rafael at debian.org
Tue May 29 15:19:09 UTC 2007


* Jörg Sommer <joerg at alea.gnuu.de> [2007-05-28 23:37]:

> Hallo Rafael,
> 
> Rafael Laboissiere schrieb am Mon 28. May, 19:37 (+0200):
> > As regards the examples distributed with tmexpand, it would be interesting to:
> > 
> > 1) have the installed version installed in /usr/share/doc/tmexpand/examples
> >    working "out-of-the-box".  The makefiles should be patched like this:
> 
> I think we should not install the makefiles. I meant to not install them,
> but I forgot to exclude them in the dh_installexamples call. Do you think
> they are usefull?

Yes, I think so.  I always like to have Makefiles distributed along the
examples because then users can know exactly how the upstream author
intended to use the program.
 
> > 2) add a regression test for running at build time.  This could be done by
> >    adding to the build rule in debian/rules something like:
> 
> I wouldn't do this, because it introduces a build dependency on jed.

This is not a problem.

> I would change the check_installation into check_package and do this there.

The advantage of adding regression tests is that is helps *_a lot_* to
detect problem in all architectures.  Thanks to regression tests, I already
detected problems in 64-bits architectures that do not manifest themselves
when I build packages on i386.  Regression tests tremendously adds value to
the package and I think we should include them.

-- 
Rafael



More information about the Pkg-jed-devel mailing list