Hi,

The problem was that py-nose tests tested everything recursively
under working directory. After the build stage, there is a lib
directory with the same contents of nose, and add_paths() messed
up.

You can solve the problem by removing ${WRKSRC}/lib before running
regression tests.

I solved the problem using target nosetests which gave me ability
to specify the tests directory (NOSE_WHERE=unit_tests).

You'll need to apply the lang/python/python.mk diff to make
REGRESS_TARGET=nosetests work.

I have no idea why it worked for you; but comparing the timings of
your and mine regression tests it's obvious that yours didn't test
anything (hidden bug?).

http://www.altroot.org/py-turbogears/py-nose-0.9.3.tar.gz

Reply via email to