subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1031265 - /subversion/branches/py-tests-as-modules/subversion/tests/cmdline/svntest/main.py
Date Thu, 04 Nov 2010 21:34:03 GMT
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))



Mime
View raw message