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

Re: Passing arguments to nosetests in debian/rules:override_dh_auto_test



[Josue Ortega, 2014-07-06]
> Currently I am packging oct2py[0] which is a bridge between python and GNU octave
> Since some unit tests had issues with memory, upstream started to pass some 
> arguments to the nosetests[1], since this arguments are passed in upstream
> travis.yml and Makefile they aren't taken by dh_auto_test.
> 
> I am using pybuild and I want to pass this arguments in the override_dh_auto_test
> section.

override_dh_auto_test:
	dh_auto_test -- --test-args='--foo bar --baz'

or at the top of debian/rules:

export PYBUILD_TEST_ARGS=--foo bar --baz
-- 
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: