subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1592974 - /subversion/trunk/subversion/tests/cmdline/svntest/main.py
Date Wed, 07 May 2014 11:30:24 GMT
Author: rhuijben
Date: Wed May  7 11:30:23 2014
New Revision: 1592974

URL: http://svn.apache.org/r1592974
Log:
Following up on r1592715, restore support for running tests out of tree on
Windows. This breakage was invisible because the testsuite deadlocked in the
C tests.

* subversion/tests/cmdline/svntest/main.py
  (P): Use current directory, instead of the python directory to restore
    support for out of tree test runs, like on Windows.

Modified:
    subversion/trunk/subversion/tests/cmdline/svntest/main.py

Modified: subversion/trunk/subversion/tests/cmdline/svntest/main.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/main.py?rev=1592974&r1=1592973&r2=1592974&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/main.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/main.py Wed May  7 11:30:23 2014
@@ -144,9 +144,7 @@ os.environ['LC_ALL'] = 'C'
 # The locations of the svn binaries.
 # Use --bin to override these defaults.
 def P(relpath,
-      head=os.path.abspath(
-            os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(
-                                                                  __file__)))))
+      head=os.path.dirname(os.path.dirname(os.path.abspath('.')))
       ):
   return os.path.join(head, relpath)
 svn_binary = P('svn/svn')



Mime
View raw message