[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


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140312084954.gj22...@sts0.p1otr.com

Reply via email to