subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1139268 - /subversion/trunk/build/run_tests.py
Date Fri, 24 Jun 2011 12:26:56 GMT
Author: danielsh
Date: Fri Jun 24 12:26:56 2011
New Revision: 1139268

URL: http://svn.apache.org/viewvc?rev=1139268&view=rev
Log:
Pass parameters from 'make check' to svntest as integers.

Found by: philip

* build/run_tests.py
  (TestHarness._run_py_test):
    Explicitly store SERVER_MINOR_VERSION and FSFS_SHARDING as integers in 
    svntest.main.options.

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=1139268&r1=1139267&r2=1139268&view=diff
==============================================================================
--- subversion/trunk/build/run_tests.py (original)
+++ subversion/trunk/build/run_tests.py Fri Jun 24 12:26:56 2011
@@ -389,7 +389,7 @@ class TestHarness:
     if self.http_library is not None:
       svntest.main.options.http_library = self.http_library
     if self.server_minor_version is not None:
-      svntest.main.options.server_minor_version = self.server_minor_version
+      svntest.main.options.server_minor_version = int(self.server_minor_version)
     if self.list_tests is not None:
       svntest.main.options.list_tests = True
     if self.milestone_filter is not None:
@@ -397,7 +397,7 @@ class TestHarness:
     if self.svn_bin is not None:
       svntest.main.options.svn_bin = self.svn_bin
     if self.fsfs_sharding is not None:
-      svntest.main.options.fsfs_sharding = self.fsfs_sharding
+      svntest.main.options.fsfs_sharding = int(self.fsfs_sharding)
     if self.fsfs_packing is not None:
       svntest.main.options.fsfs_packing = self.fsfs_packing
     if self.mode_filter is not None:



Mime
View raw message