Patch #44599 ยป 0001-Document-in-doc-RUNNING_TESTS-that-chg-makes-the-Mer.patch
| doc/RUNNING_TESTS | ||
|---|---|---|
|
If the test repositories are not present, the tests that need them will be
|
||
|
skipped.
|
||
|
Speeding up Mercurial tests
|
||
|
===========================
|
||
|
Unlike the commands of other SCMs such as Git and Subversion, the hg command
|
||
|
is slow to start because it has to start the Python interpreter every time it
|
||
|
is invoked. Since the Mercurial tests invoke hg several hundred times, most
|
||
|
of their run time is spent on starting the command.
|
||
|
chg, a client for the Mercurial command server, avoids this startup cost. If
|
||
|
chg is installed on your system, you can make the Mercurial tests much faster
|
||
|
by adding the following setting to config/configuration.yml:
|
||
|
test:
|
||
|
scm_mercurial_command: chg
|
||
|
Creating a test LDAP database
|
||
|
=============================
|
||