Mercurial > public > mercurial-scm > hg
diff tests/test-commandserver.py @ 15541:3aee6e26b28b
tests: make test-commandserver.py output readable
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 21 Nov 2011 00:39:32 +0100 |
parents | b4c06b97dfe0 |
children | e19302598df8 |
line wrap: on
line diff
--- a/tests/test-commandserver.py Mon Nov 21 00:39:32 2011 +0100 +++ b/tests/test-commandserver.py Mon Nov 21 00:39:32 2011 +0100 @@ -26,6 +26,7 @@ return channel, server.stdout.read(length) def runcommand(server, args, output=sys.stdout, error=sys.stderr, input=None): + print ' runcommand', ' '.join(args) server.stdin.write('runcommand\n') writeblock(server, '\0'.join(args)) @@ -52,6 +53,9 @@ return def check(func, repopath=None): + print + print 'testing %s:' % func.__name__ + print server = connect(repopath) try: return func(server)