view tests/helper-runtests.sh @ 40144:acf560bc9b56

perf: extract the timing of a section in a context manager This makes it easier to reuse it in other (future) part of the code that requires their own time management.
author Boris Feld <boris.feld@octobus.net>
date Tue, 02 Oct 2018 18:54:06 +0200
parents 054bcdad6042
children
line wrap: on
line source

#
# Avoid interference from actual test env:

unset HGTEST_JOBS
unset HGTEST_TIMEOUT
unset HGTEST_PORT
unset HGTEST_SHELL