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 2010/06/18 20:58:19 UTC

svn commit: r956096 - /subversion/trunk/build/run_tests.py

Author: rhuijben
Date: Fri Jun 18 18:58:19 2010
New Revision: 956096

URL: http://svn.apache.org/viewvc?rev=956096&view=rev
Log:
* build/run_tests.py
  (_run_test): Fix calculation of the absolute path to the test file
    in case cwd is not the srcdir. (E.g. when running tests on a ramdrive)

Modified:
    subversion/trunk/build/run_tests.py

Modified: subversion/trunk/build/run_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/build/run_tests.py?rev=956096&r1=956095&r2=956096&view=diff
==============================================================================
--- subversion/trunk/build/run_tests.py (original)
+++ subversion/trunk/build/run_tests.py Fri Jun 18 18:58:19 2010
@@ -349,7 +349,7 @@ class TestHarness:
 
     start_time = datetime.now()
 
-    progabs = os.path.abspath(prog)
+    progabs = os.path.abspath(os.path.join(self.srcdir, prog))
     old_cwd = os.getcwd()
     try:
       os.chdir(progdir)