You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2018/01/29 21:55:15 UTC
svn commit: r1822587 - in /subversion/trunk: Makefile.in build/run_tests.py
Author: stsp
Date: Mon Jan 29 21:55:15 2018
New Revision: 1822587
URL: http://svn.apache.org/viewvc?rev=1822587&view=rev
Log:
Make run_tests.py's existing --bin option usable from 'make check'.
Using this speeds up test runs on OpenBSD a lot because running every
'svn', 'svnadmin' etc. command through a libtool shell script is,
well.... slooooow
* Makefile.in: Support SVN_BIN_DIR parameter for 'make check'.
* build/run_tests.py: Documention --bin option.
Modified:
subversion/trunk/Makefile.in
subversion/trunk/build/run_tests.py
Modified: subversion/trunk/Makefile.in
URL: http://svn.apache.org/viewvc/subversion/trunk/Makefile.in?rev=1822587&r1=1822586&r2=1822587&view=diff
==============================================================================
--- subversion/trunk/Makefile.in (original)
+++ subversion/trunk/Makefile.in Mon Jan 29 21:55:15 2018
@@ -601,6 +601,9 @@ check: bin @TRANSFORM_LIBTOOL_SCRIPTS@ $
if test "$(FSFS_DIR_DELTIFICATION)" != ""; then \
flags="--fsfs-dir-deltification $(FSFS_DIR_DELTIFICATION) $$flags";\
fi; \
+ if test "$(SVN_BIN_DIR)" != ""; then \
+ flags="--bin $(SVN_BIN_DIR) $$flags"; \
+ fi; \
LD_LIBRARY_PATH='$(auth_plugin_dirs):$(LD_LIBRARY_PATH)' \
$(PYTHON) $(top_srcdir)/build/run_tests.py \
--config-file $(top_srcdir)/subversion/tests/tests.conf \
Modified: subversion/trunk/build/run_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/build/run_tests.py?rev=1822587&r1=1822586&r2=1822587&view=diff
==============================================================================
--- subversion/trunk/build/run_tests.py (original)
+++ subversion/trunk/build/run_tests.py Mon Jan 29 21:55:15 2018
@@ -24,7 +24,7 @@
#
'''usage: python run_tests.py
- [--verbose] [--log-to-stdout] [--cleanup]
+ [--verbose] [--log-to-stdout] [--cleanup] [--bin=<path>]
[--parallel | --parallel=<n>] [--global-scheduler]
[--url=<base-url>] [--http-library=<http-library>] [--enable-sasl]
[--fs-type=<fs-type>] [--fsfs-packing] [--fsfs-sharding=<n>]