You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2014/05/07 13:30:24 UTC

svn commit: r1592974 - /subversion/trunk/subversion/tests/cmdline/svntest/main.py

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')