Mercurial > hg
comparison tests/test-profile @ 5166:b1e147f60d62
Merge with crew-stable
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Tue, 14 Aug 2007 16:30:38 +0200 |
parents | 105d4cf7ec24 |
children | 9b0efeb725f4 |
comparison
equal
deleted
inserted
replaced
5165:ec24bfd852ab | 5166:b1e147f60d62 |
---|---|
1 #!/bin/sh | |
2 | |
3 echo % test --time | |
4 hg --time help 2>&1 | grep -q Time || echo --time failed | |
5 | |
6 echo % test --profile | |
7 hg --profile help 2>&1 | grep -q ncalls || echo --profile failed | |
8 | |
9 echo % test --lsprof | |
10 if "$TESTDIR/hghave" -q lsprof; then | |
11 hg --lsprof help 2>&1 | grep -q CallCount || echo --lsprof failed | |
12 fi |