tests/hghave
changeset 5144 6e040f6c2c9c
parent 5143 fc6106267198
child 5157 105d4cf7ec24
equal deleted inserted replaced
5143:fc6106267198 5144:6e040f6c2c9c
    80 
    80 
    81         check, desc = checks[feature]
    81         check, desc = checks[feature]
    82         if not negate and not check():
    82         if not negate and not check():
    83             error('hghave: missing feature: ' + desc)
    83             error('hghave: missing feature: ' + desc)
    84         elif negate and check():
    84         elif negate and check():
    85             error('hghave: unexpected feature: ' + desc)
    85             error('hghave: system supports %s' % desc)
    86 
    86 
    87     if failures != 0:
    87     if failures != 0:
    88         sys.exit(1)
    88         sys.exit(1)
    89 
    89 
    90 
    90