tests/README
author Bryan O'Sullivan <bos@serpentine.com>
Thu, 19 Jul 2007 12:41:07 -0700
changeset 4928 e8f4e40f285a
parent 3941 d0bbd8ee50c7
permissions -rw-r--r--
convert/subversion: work around memory leak in svn's python bindings The svn.ra.get_log wrapper attaches the hash of changed paths for every log entry to a global memory pool, so memory consumption increases rapidly, with no way to free it. Our workaround is to call this function in a child process, and feed its results back over a pipe. The memory consumption of the child still grows huge (hundreds of megabytes), but at least it goes away once the reading-the-log phase is done.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
332
6c869059beb4 testing fixups
mpm@selenic.com
parents: 331
diff changeset
     1
To run the tests, do:
6c869059beb4 testing fixups
mpm@selenic.com
parents: 331
diff changeset
     2
6c869059beb4 testing fixups
mpm@selenic.com
parents: 331
diff changeset
     3
cd tests/
2207
8a2a7f7d9df6 Delete the shell version of run-tests
Stephen Darnell <stephen@darnell.plus.com>
parents: 1933
diff changeset
     4
python run-tests.py
332
6c869059beb4 testing fixups
mpm@selenic.com
parents: 331
diff changeset
     5
3941
d0bbd8ee50c7 Move test suite docs to the wiki
Matt Mackall <mpm@selenic.com>
parents: 3192
diff changeset
     6
See http://www.selenic.com/mercurial/wiki/index.cgi/WritingTests for
d0bbd8ee50c7 Move test suite docs to the wiki
Matt Mackall <mpm@selenic.com>
parents: 3192
diff changeset
     7
more information on writing tests.