Rev | Line | |
---|
[3296] | 1 | @echo off |
---|
| 2 | |
---|
| 3 | REM Invoking unit test directly doesn't work anymore on Plone 2.5.1 |
---|
| 4 | REM See http://plone.org/documentation/error/attributeerror-test_user_1_ |
---|
| 5 | |
---|
| 6 | set PYTHON=C:\Plone-2.5.5\Python\python.exe |
---|
| 7 | set ZOPE_HOME=C:\Plone-2.5.5\Zope |
---|
| 8 | set INSTANCE_HOME=C:\Plone-2.5.5\Data |
---|
| 9 | set SOFTWARE_HOME=%ZOPE_HOME%\lib\python |
---|
| 10 | set CONFIG_FILE=%INSTANCE_HOME%\etc\zope.conf |
---|
| 11 | set PYTHONPATH=%SOFTWARE_HOME% |
---|
| 12 | set TEST_RUN=%ZOPE_HOME%\bin\test.py |
---|
| 13 | |
---|
| 14 | "%PYTHON%" "%TEST_RUN%" --config-file="%CONFIG_FILE%" --usecompiled -vp --package-path=%INSTANCE_HOME%/Products/CacheSetup Products.CacheSetup |
---|
Note: See
TracBrowser
for help on using the repository browser.