Piotr Ożarowski <pi...@debian.org> writes: > [Nikolaus Rath, 2014-03-14] >> It seems that pybuild tries to find the tests in some temporary >> directory: >> >> $ debuild -us -uc >> [....] >> make[1]: Leaving directory `ROOT/python-dugong-2.1' >> dh_auto_test -O--buildsystem=pybuild >> I: pybuild base:170: cd ROOT/python-dugong-2.1/.pybuild/pythonX.Y_3.4/build; >> python3.4 -m pytest >> ============================= test session starts >> ============================== >> platform linux -- Python 3.4.0 -- pytest-2.5.1 >> collected 0 items >> [...] >> >> This is presumably because the tests are in ROOT/test, not in >> ROOT/python-dugong-2.1/.pybuild/pythonX.Y_3.4/build. The latter seems to >> contain only the dugong module itself. >> >> Who/what is responsible for copying the tests in this directory? > > how about instead of copying these files, pointing pytest to them?
I was assuming that there's some rationale for pybuild looking for the tests in this directory. If they have to be copied there manually, or if pybuild has to be told to look for them elsewhere, then why look for them in this weird location in the first place? It seems to me I'm missing something here.. maybe the right question to ask is: in what situation would I *not* need to copy the files manually or modify PYBUILD_TEST_ARGS? Thanks, Nikolaus -- Encrypted emails preferred. PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C »Time flies like an arrow, fruit flies like a Banana.« -- 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/878uschic9....@rath.org