On Fri, Nov 18, 2005 at 07:41:13AM +0000, Chris Withers wrote:
| Sidnei da Silva wrote:
| >
| >Unfortunately, './bin/zopectl test' doesn't run on Windows. But I will
| >give --dir a try.
| 
| I use the following in a batch script to run tests in exactly the same 
| way as zopectl test:
| 
| set ZOPE_HOME=C:\Zope\2.7.7
| set PYTHON=%ZOPE_HOME%\bin\python.exe
| set INSTANCE_HOME=C:\Zope\MyInstance
| cls
| %PYTHON% %_HOME%\bin\test.py --config-file %INSTANCE_HOME%\etc\zope.conf 
| --libdir=%INSTANCE_HOME%\Products --keepbytecode %1 %2 %3 %4 %5 %6
| 
| ...so I just type, for example:
| 
| 
| bin\runtests -vv MyProduct

Thanks for the hint!

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to