subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1619320 - /subversion/trunk/subversion/tests/cmdline/svntest/main.py
Date Thu, 21 Aug 2014 09:19:23 GMT
Author: brane
Date: Thu Aug 21 09:19:22 2014
New Revision: 1619320

URL: http://svn.apache.org/r1619320
Log:
Teach the test driver to pass a specific FSFS version number to the test
cases. This doesn't actually do anything at the moment, but the idea is
to, at some point, make the test cases use pre-cooked repositories that
were created by older released versiond of Subversion.

* build/run_tests.py
  (TestHarness.__init__): Parse the FSFS version from the fs-type argument.
  (TestHarness._run_c_test,
   TestHarness._run_py_test): Pass the FSFS version to the test case.

* subversion/tests/cmdline/svntest/main.py
  (_create_parser): Accept a new int parameter, --fsfs-version.
* subversion/tests/svn_test_main.c
  (test_options_e): Add new enum constant, fsfs_version_opt.
  (cl_options): Declare a new option, --fsfs-version.

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=1619320&r1=1619319&r2=1619320&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/main.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/main.py Thu Aug 21 09:19:22 2014
@@ -1827,6 +1827,8 @@ def _create_parser():
                     help="Run 'svnadmin pack' automatically")
   parser.add_option('--fsfs-sharding', action='store', type='int',
                     help='Default shard size (for fsfs)')
+  parser.add_option('--fsfs-version', type='int', action='store',
+                    help='FSFS version (fsfs)')
   parser.add_option('--config-file', action='store',
                     help="Configuration file for tests.")
   parser.add_option('--set-log-level', action='callback', type='str',



Mime
View raw message