subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1438271 - /subversion/trunk/win-tests.py
Date Thu, 24 Jan 2013 23:57:10 GMT
Author: rhuijben
Date: Thu Jan 24 23:57:10 2013
New Revision: 1438271

URL: http://svn.apache.org/viewvc?rev=1438271&view=rev
Log:
* win-tests.py
  (copy_execs): Simplify processing.
  (create_dirs): Also copy the tools/server-side applications to allow
    running the svnauthz 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=1438271&r1=1438270&r2=1438271&view=diff
==============================================================================
--- subversion/trunk/win-tests.py (original)
+++ subversion/trunk/win-tests.py Thu Jan 24 23:57:10 2013
@@ -307,8 +307,7 @@ def copy_changed_file(src, tgt):
 def copy_execs(baton, dirname, names):
   copied_execs = baton
   for name in names:
-    ext = os.path.splitext(name)[1]
-    if ext != ".exe":
+    if not name.endswith('.exe'):
       continue
     src = os.path.join(dirname, name)
     tgt = os.path.join(abs_builddir, dirname, name)
@@ -667,7 +666,9 @@ if create_dirs:
     os.chdir(abs_objdir)
     baton = copied_execs
     for dirpath, dirs, files in os.walk('subversion'):
-      copy_execs(baton, dirpath, dirs + files)
+      copy_execs(baton, dirpath, files)
+    for dirpath, dirs, files in os.walk('tools/server-side'):
+      copy_execs(baton, dirpath, files)
   except:
     os.chdir(old_cwd)
     raise



Mime
View raw message