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

Re: Python: Including Nosetest



Vincent Bernat <bernat@luffy.cx> writes:
> You should not run test against the source package. Instead, you should run
> tests against the yet-to-be-installed version. 

The python package in question is a wrapper for some shared library
(wcslib).

The goal of the tests is not in the first place that they forgot
something in the manifest (things like this are usually already tested
upstream), but that the communication between the shared library, the C
wrapper and the higher level python modules. This can be tested in the
source directory as well.

Also, the place of dh_auto_test in the order of steps in dh_build
suggests at least to me as a beginner that in-place tests *before*
installation are the recommended (or at least the usual) way to go in
Debian.
Best regards

Ole


Reply to: