pyliblo_0.9.1-3_amd64.changes REJECTED

Jaromír Mikeš mira.mikes at gmail.com
Tue Aug 27 20:42:05 UTC 2013


2013/8/27 Sebastian Ramacher <sramacher at debian.org>

>
> To run the tests, the extensions modules need to be available in
> PYTHONPATH. Starting with something like the test targets found at
> https://wiki.debian.org/Python/LibraryStyleGuide, one could use
>
> # Callable functions to determine the correct PYTHONPATH
> pythonpath = $$(ls -d $(CURDIR)/build/lib.*-$(1))
>
> ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
> test-python%:
>   PYTHONPATH=$(call pythonpath,$*) \
>     python$* -m unittest discover -s test/ -p '*.py' -v
>
> override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
> endif
>
> (untested)
>
>
tested here:

   debian/rules override_dh_auto_test
make[1]: Entering directory `/tmp/buildd/pyliblo-0.9.1'
make[1]: *** No rule to make target `test-python2.7', needed by
`override_dh_auto_test'.  Stop.

mira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20130827/9df66ae5/attachment.html>


More information about the pkg-multimedia-maintainers mailing list