windows has it. but the guy who wrote those tests never give attention to 
the win world. When I run tests on windows, I delete that file.

On Tuesday, January 21, 2014 2:39:52 PM UTC+1, Massimo Di Pierro wrote:
>
> Windows has no fork. I do not think we have ever run tests on windows. Try 
> with cygwin
>
> On Monday, 20 January 2014 23:16:12 UTC-6, Kiran Subbaraman wrote:
>>
>> Hello,
>> I was trying to figure out how to run tests against web2py (in the case 
>> where I contribute changes to web2py).
>> Ran 
>> python web2py.py --help 
>>
>>
>> This listed --run-system-tests as an option
>>
>> Ran this, and this is the output I see (I have to kill the process; 
>> unable to stop it otherwise)
>>
>> testInvalidUrls (gluon.tests.test_is_url.TestIsGenericUrl) ... ok
>> testPrepending (gluon.tests.test_is_url.TestIsGenericUrl) ... ok
>> testValidUrls (gluon.tests.test_is_url.TestIsGenericUrl) ... ok
>> testInvalidUrls (gluon.tests.test_is_url.TestIsHttpUrl) ... ok
>> testPrepending (gluon.tests.test_is_url.TestIsHttpUrl) ... ok
>> testValidUrls (gluon.tests.test_is_url.TestIsHttpUrl) ... ok
>> testExceptionalUse (gluon.tests.test_is_url.TestIsUrl) ... ok
>> testModeGeneric (gluon.tests.test_is_url.TestIsUrl) ... ok
>> testModeHttp (gluon.tests.test_is_url.TestIsUrl) ... ok
>> testRun (gluon.tests.test_dal.TestJoin) ... ok
>> test_reads_and_writes (gluon.tests.test_languages.TestLanguagesParallel) 
>> ... Traceback (most recent call last):
>>   File "<string>", line 1, in <module>
>>   File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 
>> 380, in main
>> Traceback (most recent call last):
>>   File "<string>", line 1, in <module>
>>     prepare(preparation_data)
>>   File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 
>> 380, in main
>>   File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 
>> 488, in prepare
>>         prepare(preparation_data)
>> assert main_name not in sys.modules, main_name
>> Traceback (most recent call last):
>>   File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 
>> 488, in prepare
>> AssertionError  File "<string>", line 1, in <module>
>>   File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 
>> 380, in main
>>     Traceback (most recent call last):
>>     Traceback (most recent call last):
>>   File "<string>", line 1, in <module>
>> :   File "D:\programs\open\python27\lib\multiprocessing\forking.py",line 
>> 380, in main
>>   File "<string>", line 1, in <module>
>> Traceback (most recent call last):
>>     assert main_name not in sys.modules, main_name
>> Traceback (most recent call last):
>> _  File "<string>", line 1, in <module>
>>   File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 
>> 380, in main
>> prepare(preparation_data)
>>   File "<string>", line 1, in <module>
>> prepare(preparation_data)
>> AssertionErrorTraceback (most recent call last):
>> _main__  File 
>> "D:\programs\open\python27\lib\multiprocessing\forking.py",line 
>> 380, in main
>>     prepare(preparation_data)
>>   File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 
>> 488, in prepare
>> :       File "<string>", line 1, in <module>
>>   File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 
>> 488, in prepare
>> Traceback (most recent call last):
>>   File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 
>> 380, in main
>>   File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 
>> 488, in prepare
>> _prepare(preparation_data)
>>   File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 
>> 380, in main
>>
>>
>> I am running these tests on Window 8.1, from within the power-shell. I am 
>> suspecting this is an OS related issue; where I need to run the tests on a 
>> *nix box?
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to