Actually, the tests won't be run in multiple threads, only in multiple
processes (to speed up the process of running tests -- although if you
didn't make the tests considering this situation, it's really possible
that they won't run properly). You can edit the PyUnit preferences to
use a single process in window > preferences > pydev > pyunit,, set
"--jobs=1" (but note that if you didn't specify that setting, it
should have no effect).

Cheers,

Fabio

On Thu, Feb 24, 2011 at 9:01 AM, P. Ziarsolo <pziars...@upv.es> wrote:
> Hi,
>        We are having problems running unitests with pydev. I suspect
> that the
> problem is with multi threading. If I run just a test file it runs ok,
> but if a run a whole directory is gives different kind os errors, all
> related with working directory.
>
> We have in our code various os.chdir and I have readed that this is not
> thread safe.
>
> My question is: Is posible to run directory unit tests in just one
> threads inside pydev?
>
> p.
>
>
>
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Pydev-users mailing list
> Pydev-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pydev-users
>

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to