##// END OF EJS Templates
run-tests: use regex when searching for $HGPORT in test output...
run-tests: use regex when searching for $HGPORT in test output This prevents spurious errors when a changeset hash happens to match the port number. Before, this invocation gave a test failure: $ ./run-tests.py test-log.t --port 24427 ERROR: /home/mg/src/mercurial-crew/tests/test-log.t output changed --- /home/mg/src/mercurial-crew/tests/test-log.t +++ /home/mg/src/mercurial-crew/tests/test-log.t.err @@ -626,12 +626,12 @@ $ hg log -b default changeset: 2:c3a4f03cc9a7 - parent: 0:24427303d56f + parent: 0:$HGPORT303d56f user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: commit on default ...

File last commit:

r12595:0f83a402 merge default
r12895:53cfde2b stable
Show More
test-doctest.py
20 lines | 502 B | text/x-python | PythonLexer
Mads Kiilerich
tests: fix readline escape characters in output for test-doctest.py
r7041 # this is hack to make sure no escape characters are inserted into the output
Matt Mackall
fix up a bunch of check-code warnings
r10413 import os
Patrick Mezard
test-doctest: remove TERM env variable only if it's there
r7078 if 'TERM' in os.environ:
Dirkjan Ochtman
clean up trailing spaces
r7184 del os.environ['TERM']
Benoit Boissinot
[extendedchangelog] encode/decode function...
r3232 import doctest
import mercurial.changelog
doctest.testmod(mercurial.changelog)
Peter Arrenbrecht
dagparser: parses and formats DAGs as concise text...
r11335 import mercurial.dagparser
Peter Arrenbrecht
debugbuilddag: build a changelog dag from a concise description...
r11337 doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE)
Peter Arrenbrecht
dagparser: parses and formats DAGs as concise text...
r11335
Martin Geisler
match: add narrowmatcher class...
r12165 import mercurial.match
doctest.testmod(mercurial.match)
Mads Kiilerich
test-doctest: test the modules that contains doctests
r12594 import mercurial.url
doctest.testmod(mercurial.url)
Patrick Mezard
convert: fix builtin cvsps under Windows...
r7097 import hgext.convert.cvsps
doctest.testmod(hgext.convert.cvsps)