[Zope3-dev] Re: running tests from src as opposed to an instance

Philipp von Weitershausen philipp at weitershausen.de
Fri Jul 7 05:35:01 EDT 2006


Chris Withers wrote:
> Philipp von Weitershausen wrote:
>> $ svn co .../trunk Zope3
>> $ cd Zope3
>> $ make
>> $ python test.py -s zope.i18n
> 
> Ah cool, didn't notice that test.py lived there in Zope 3...
> 
> Now, what about Zope 2, 

Zope 2 checkouts ship with pretty much the same test.py script.

> more specifically Zope 2 releases for Windows?

Zope 2 releases should ship with bin/test.py (probably Scripts\test.py
on Windows). Though the one shipping with Zope 2.9.3 doesn't properly
set up PYTHONPATH to include the Zope 2.9.3 SOFTWARE_HOME. Perhaps
that's going to be fixed in Zope 2.9.4 which won't be built using zpkg.

Philipp


More information about the Zope3-dev mailing list