~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4398.4.3.

  • Committer: Vincent Ladeuil
  • Date: 2009-06-04 11:05:37 UTC
  • mto: (4412.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4413.
  • Revision ID: v.ladeuil+lp@free.fr-20090604110537-apsikpui9ufvke95
Detect # cores on win32 and Solaris too.

* bzrlib/tests/test_osutils.py:
(TestConcurrency): Add a smoke test for local_concurrency().

* bzrlib/tests/__init__.py: 
(local_concurrency): Moved to osutils, all calls updated.

* bzrlib/osutils.py:
(local_concurrency): Moved from tests/__init__.py, add more
platform specific implementations.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: