subversion-commits mailing list archives

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

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/
  (TestHarness.__init__): Parse the FSFS version from the fs-type argument.
   TestHarness._run_py_test): Pass the FSFS version to the test case.

* subversion/tests/cmdline/svntest/
  (_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/
--- subversion/trunk/subversion/tests/cmdline/svntest/ (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/ 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',

View raw message