Mercurial > hg
view tests/mockblackbox.py @ 25107:149cc7663ac8
run-tests: add a --profile-runner option
While in the throes of a recent run-tests adventure, I found it useful
to have profiler output for the testrunner itself. Adding it was
simple enough and seems worth keeping around.
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 13 May 2015 11:22:06 -0700 |
parents | 0ead0a07ed9c |
children | ac49ecb2a897 |
line wrap: on
line source
from mercurial import util def makedate(): return 0, 0 def getuser(): return 'bob' # mock the date and user apis so the output is always the same def uisetup(ui): util.makedate = makedate util.getuser = getuser