[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Do not ignore --bin parameter for svnrdump when running Python tests

From: Evgeny Kotkov <evgeny.kotkov_at_visualsvn.com>
Date: Thu, 5 Dec 2013 03:09:31 +0400

Hi,

I've noticed a small discrepancy: around trunk_at_r1547889, the core of the test
suite (subversion/tests/cmdline/svntest/main.py) always ignores the --bin
option for the svnrdump binary.

So, if you make a fresh checkout and try to run svnrdump_tests.py against the
installed version of Subversion, the test runner will complain about the
missing svnrdump binary:
[[[
  ./svnrdump_tests.py --bin=/usr/bin

  ... (in run_svnrdump)
  OSError: [Errno 2] No such file or directory
  FAIL: svnrdump_tests.py 1: dump: standard sbox repos
]]]

I've attached a patch to fix this issue. AFAIK [1], SVNKit does not include
the "j" version of svnrdump, so I did not touch the part of the setup that
handles the --use-jsvn option. Log message:
[[[
Do not ignore --bin parameter for svnrdump when running Python tests.

* subversion/tests/cmdline/svntest/main.py
  (svnrdump_binary): Update obsolete comment.
  (execute_tests): Override default svnrdump path when --bin option is set.

Patch by: Evgeny Kotkov <evgeny.kotkov{_AT_}visualsvn.com>
]]]

[1] http://svn.svnkit.com/repos/svnkit/trunk/svnkit-cli/build.gradle

Thanks and regards,
Evgeny Kotkov

Received on 2013-12-05 00:10:46 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.