tests/test-profile
changeset 5157 105d4cf7ec24
child 5162 9b0efeb725f4
equal deleted inserted replaced
5156:0bbd86b847dd 5157:105d4cf7ec24
       
     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