comparison tests/test-profile @ 5161:24d306834de5

merge with -stable
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 14 Aug 2007 17:20:51 +0200
parents 105d4cf7ec24
children 9b0efeb725f4
comparison
equal deleted inserted replaced
5160:c13610d5642c 5161:24d306834de5
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