[Zope-CMF] Re: running the CMF unit tests
Gregoire Weber
gregweb at gmx.ch
Tue Aug 3 16:23:09 EDT 2004
At 14:08 03.08.2004 +0200, yuppie wrote:
>Hi!
>
>
>Jens Vagelpohl wrote:
>>On Aug 3, 2004, at 6:21, Paul Winkler wrote:
>>>This works for me:
>>>./bin/zopectl run Products/CMFDefault/tests/test_all.py
>>
>>Found a problem, can anyone confirm this? Running the CMFCore unit test I have several errors when the test runs and then the test hangs completely. I get "E" on...
>>test_ActionInformation.ActionInformationTests
>> - test_Condition
>> - test_basic_construction
>> - test_construction_with_Expressions
>> - test_editing
>>test_Expression.ExpressionTests
>> - test_anonymous_ec
>> - test_authenticatedUser_ec
>>... and then we hang on the next one, test_ec_context. Here's my setup:
>>- Mac OS X
>>- Python 2.3.4
>>- Zope 2.7.2
>>- current CMF HEAD
>>- bone-stock fresh instance with no other products installed
Can't confirm this on Win2k by starting unittests manually:
Python 2.3.3
Zope 2.7.1
current CMF HEAD
>Other ways to run tests:
>
>$ bin/zopectl run Products/all_cmf_tests.py
>Doesn't work because CMFUid has no test_all.py. OK without CMFUid.
>
>$ bin/zopectl run bin/test.py --libdir Products -v
>Doesn't work with CMFUid. Some CMFSetup tests fail.
Sorry for the inconvenience! Really!
I wasn't able to test the test_all.py in CMFUid under Win2k :-(.
(I made a zopectl.bat which is a modified copy of runzope.bat)
E:\user\greg\data\Zope\inst\cmf_dev>"D:\Program Files\zope\zope27\bin\python.exe" "D:\Program Files\zope\zope2
7\lib\python\Zope\Startup\zopectl.py" -C "E:\user\greg\data\Zope\inst\cmf_dev\etc\zope.conf" run Products/all_
cmf_tests.py
Traceback (most recent call last):
File "D:\Program Files\zope\zope27\lib\python\Zope\Startup\zopectl.py", line 240, in ?
signal.signal(signal.SIGCHLD, signal.SIG_IGN)
AttributeError: 'module' object has no attribute 'SIGCHLD'
Does somebody know what's happening?
yuppie, can you test on linux?
Gregoire
Gregoire
More information about the Zope-CMF
mailing list