[Zope3-dev] Linux Test Results - Zope 3 - Not OK :-(

Marius Gedminas mgedmin@codeworks.lt
Tue, 31 Dec 2002 14:27:11 +0200


On Tue, Dec 31, 2002 at 03:08:34AM +0000, zope-tests@squishdot.org wrote:
> Running tests from /stuff/chrisw/ZopeTests/sandbox/Zope3
> No module named _persistence
[...]
> ImportError: No module named _persistence

I saw this error yesterday.  In my case it was caused by a stale build/
directory ('make test' builds all the extension modules in-place, but
test.py finds an existing (stale) build/ subdir and runs the tests there
instead).  All was fine after rm -rf build.

I suppose that running 'make build' or 'make test_build' should also
work, but it fails to remove obsolete files from build/ (e.g. if you
remove a test module, and try to run the tests out-of-place, that module
remains inside build/ tree and gets run).

Marius Gedminas
-- 
We have enough youth, how about a fountain of SMART?