Author: rhuijben
Date: Thu Jul 18 16:23:31 2013
New Revision: 1504511

URL: http://svn.apache.org/r1504511
Log:
Optimize ramdrive usage in the Windows test runner.

* win-tests.py
  (locate_libs): When running tests out of tree, copy the common libraries
    to the out of tree location (usually the ramdrive), instead of the original
    base location, and add this directory to the path while running the tests.

Modified:
    subversion/trunk/win-tests.py

Modified: subversion/trunk/win-tests.py
URL: 
http://svn.apache.org/viewvc/subversion/trunk/win-tests.py?rev=1504511&r1=1504510&r2=1504511&view=diff
==============================================================================
--- subversion/trunk/win-tests.py (original)
+++ subversion/trunk/win-tests.py Thu Jul 18 16:23:31 2013
@@ -337,7 +337,7 @@ def locate_libs():
       dlls.append(os.path.join(dir, name))
 
   for dll in dlls:
-    copy_changed_file(dll, abs_objdir)
+    copy_changed_file(dll, abs_builddir)
 
   # Copy the Subversion library DLLs
   if not cp.has_option('options', '--disable-shared'):
@@ -357,7 +357,7 @@ def locate_libs():
     copy_changed_file(mod_authz_svn_path, abs_objdir)
     copy_changed_file(mod_dontdothat_path, abs_objdir)
 
-  os.environ['PATH'] = abs_objdir + os.pathsep + os.environ['PATH']
+  os.environ['PATH'] = abs_builddir + os.pathsep + os.environ['PATH']
 
 def fix_case(path):
     path = os.path.normpath(path)


Reply via email to