Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #7666

Re: pybuild: passing {dir}/tests to nose/pytest by default duplicated binary

From Barry Warsaw <barry@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: pybuild: passing {dir}/tests to nose/pytest by default duplicated binary
Date 2015-10-14 17:10 +0200
Message-ID <qjvQK-2a2-9@gated-at.bofh.it> (permalink)
References <qjfsB-28J-23@gated-at.bofh.it> <qjspR-5qz-31@gated-at.bofh.it> <qjv4n-Wf-33@gated-at.bofh.it> <qjve2-17o-7@gated-at.bofh.it>
Organization The Organization of Unorganized Woozalists

Show all headers | View raw


On Oct 14, 2015, at 04:28 PM, Piotr Ożarowski wrote:

>[Barry Warsaw, 2015-10-14]
>> On Oct 14, 2015, at 01:26 PM, Piotr Ożarowski wrote:
>> 
>> >> export PYBUILD_TEST_ARGS={dir}/tests
>> >
>> >should I do that by default in pybuild if
>> >* "test" or "tests" directory is detected
>> >* PYBUILD_TEST_ARGS is not set
>> >* nose or pytest test suite is used
>> >
>> >?
>> 
>> Maybe just on the first two conditions, only if it's documented, and if
>
>does `{interpreter} setup.py test` or `{interpreter} -m unittest discover -v`
>(always? usually?) take dir as parameter?
>
>If not, then I'd keep it for nose/pytest only.

Oh sorry, I think I misunderstood.  The conditions above are ANDed not ORed. :)

Cheers,
-Barry

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Python-pyfasta: How to run nosetests and what to do with duplicated  binary Andreas Tille <andreas@an3as.eu> - 2015-10-13 23:20 +0200
  Re: Python-pyfasta: How to run nosetests and what to do with  duplicated binary Piotr Ożarowski <piotr@debian.org> - 2015-10-13 23:40 +0200
    pybuild: passing {dir}/tests to nose/pytest by default duplicated  binary Piotr Ożarowski <piotr@debian.org> - 2015-10-14 13:30 +0200
      Re: pybuild: passing {dir}/tests to nose/pytest by default  duplicated binary Barry Warsaw <barry@debian.org> - 2015-10-14 16:20 +0200
        Re: pybuild: passing {dir}/tests to nose/pytest by default  duplicated binary Piotr Ożarowski <piotr@debian.org> - 2015-10-14 16:30 +0200
          Re: pybuild: passing {dir}/tests to nose/pytest by default  duplicated binary Barry Warsaw <barry@debian.org> - 2015-10-14 17:10 +0200
            Re: pybuild: passing {dir}/tests to nose/pytest by default Piotr Ożarowski <piotr@debian.org> - 2015-10-14 17:20 +0200
      Re: pybuild: passing {dir}/tests to nose/pytest by default duplicated binary Nikolaus Rath <Nikolaus@rath.org> - 2015-10-14 18:20 +0200

csiph-web