[PATCH 18 of 19] tests: use run-tests.py defaults that also works on windows
Mads Kiilerich
mads at kiilerich.com
Sun Nov 6 20:41:08 CST 2011
# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1320632710 -3600
# Node ID f88984c9f46c77e21500cc7e4c50bb100789a83f
# Parent 24d9c40510ee000d4894a870c8f558210c1c643f
tests: use run-tests.py defaults that also works on windows
The default shell will be sh in $PATH instead of hardcoding /bin/sh. That will
not make any difference on most platforms and be convenient on others.
The default was to make a new build of Mercurial for each test suite
invocation. That is not possible on Windows, and on other platforms it takes a
bit of time and is rarely necessary. The default is now off.
diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -96,9 +96,10 @@
defaults = {
'jobs': ('HGTEST_JOBS', 1),
+ 'local': ('HGTEST_LOCAL', True),
'timeout': ('HGTEST_TIMEOUT', 180),
'port': ('HGTEST_PORT', 20059),
- 'shell': ('HGTEST_SHELL', '/bin/sh'),
+ 'shell': ('HGTEST_SHELL', 'sh'),
}
def parselistfiles(files, listtype, warn=True):
More information about the Mercurial-devel
mailing list