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

Re: pybuild: where to put --test-pytest?



[Nikolaus Rath, 2014-03-12]
> I'm working on a package that uses pytest. Conventiently, pybuild seems
> to have a --test-pytest option -- but I'm completely at a loss where to
> put it.
> 
> Currently my rules file looks like this:

you can add this line in debian/rules:

 export PYBUILD_TEST_PYTEST=1

or you can override dh_auto_test:

 override_dh_auto_test:
 	dh_auto_test -- --test-pytest

-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


Reply to: