You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2010/11/04 22:34:03 UTC

svn commit: r1031265 - /subversion/branches/py-tests-as-modules/subversion/tests/cmdline/svntest/main.py

Author: hwright
Date: Thu Nov  4 21:34:03 2010
New Revision: 1031265

URL: http://svn.apache.org/viewvc?rev=1031265&view=rev
Log:
On the py-tests-as-modules branch:
Fix running tests in parallel on this branch.

* subversion/tests/cmdline/svntest/main.py
  (TestSpawningThread.run_one): Fix the path used to run the tests.

Modified:
    subversion/branches/py-tests-as-modules/subversion/tests/cmdline/svntest/main.py

Modified: subversion/branches/py-tests-as-modules/subversion/tests/cmdline/svntest/main.py
URL: http://svn.apache.org/viewvc/subversion/branches/py-tests-as-modules/subversion/tests/cmdline/svntest/main.py?rev=1031265&r1=1031264&r2=1031265&view=diff
==============================================================================
--- subversion/branches/py-tests-as-modules/subversion/tests/cmdline/svntest/main.py (original)
+++ subversion/branches/py-tests-as-modules/subversion/tests/cmdline/svntest/main.py Thu Nov  4 21:34:03 2010
@@ -1114,7 +1114,7 @@ class TestSpawningThread(threading.Threa
       self.run_one(next_index)
 
   def run_one(self, index):
-    command = sys.argv[0]
+    command = os.path.join(os.getcwd(), sys.argv[0])
 
     args = []
     args.append(str(index))



Re: svn commit: r1031265 - /subversion/branches/py-tests-as-modules/subversion/tests/cmdline/svntest/main.py

Posted by Hyrum Wright <hw...@apache.org>.
Bert,
If you get a minute, could you try this branch on Windows and see if
the tests are still broken there?  I've no way of testing this
locally, and would like to get it merged back to trunk at some point.

Thanks,
-Hyrum

On Thu, Nov 4, 2010 at 4:34 PM,  <hw...@apache.org> wrote:
> Author: hwright
> Date: Thu Nov  4 21:34:03 2010
> New Revision: 1031265
>
> URL: http://svn.apache.org/viewvc?rev=1031265&view=rev
> Log:
> On the py-tests-as-modules branch:
> Fix running tests in parallel on this branch.
>
> * subversion/tests/cmdline/svntest/main.py
>  (TestSpawningThread.run_one): Fix the path used to run the tests.
>
> Modified:
>    subversion/branches/py-tests-as-modules/subversion/tests/cmdline/svntest/main.py
>
> Modified: subversion/branches/py-tests-as-modules/subversion/tests/cmdline/svntest/main.py
> URL: http://svn.apache.org/viewvc/subversion/branches/py-tests-as-modules/subversion/tests/cmdline/svntest/main.py?rev=1031265&r1=1031264&r2=1031265&view=diff
> ==============================================================================
> --- subversion/branches/py-tests-as-modules/subversion/tests/cmdline/svntest/main.py (original)
> +++ subversion/branches/py-tests-as-modules/subversion/tests/cmdline/svntest/main.py Thu Nov  4 21:34:03 2010
> @@ -1114,7 +1114,7 @@ class TestSpawningThread(threading.Threa
>       self.run_one(next_index)
>
>   def run_one(self, index):
> -    command = sys.argv[0]
> +    command = os.path.join(os.getcwd(), sys.argv[0])
>
>     args = []
>     args.append(str(index))
>
>
>