##// END OF EJS Templates
merge with -stable
merge with -stable

File last commit:

r5099:105d4cf7 default
r5101:24d30683 merge default
Show More
test-profile
11 lines | 306 B | text/plain | TextLexer
Patrick Mezard
Test --time, --profile and --lsprof
r5099 #!/bin/sh
echo % test --time
hg --time help 2>&1 | grep -q Time || echo --time failed
echo % test --profile
hg --profile help 2>&1 | grep -q ncalls || echo --profile failed
echo % test --lsprof
if "$TESTDIR/hghave" -q lsprof; then
hg --lsprof help 2>&1 | grep -q CallCount || echo --lsprof failed
fi