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

Re: Major update of python-support



Le lundi 02 mars 2009 à 15:48 +0100, Vincent Bernat a écrit :
> I ask  this because I  have many packages  that use unittests  after the
> build.  I add  /var/lib/python-support  to PYTHONPATH  and launch  those
> tests. Because the path has changed, this does not work any more.
> 
> You suggest to run those tests against the sources instead. However, the
> main interests of those tests for me is to check that the binary package
> works as expected. For example, if setup.py (or debian/rules) forgets to
> ship one  file, this would  go unseen if  unittests are run  against the
> sources.

In this case, you should run the unit tests from the directory where you
install the modules, before running dh_pysupport.

-- 
 .''`.      Debian 5.0 "Lenny" has been released!
: :' :
`. `'   Last night, Darth Vader came down from planet Vulcan and told
  `-    me that if you don't install Lenny, he'd melt your brain.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: