tests/hghave
branchstable
changeset 1182 e553e222bd7e
parent 1098 72f57519a427
equal deleted inserted replaced
1180:68d1d29f6496 1182:e553e222bd7e
    57         if negate:
    57         if negate:
    58             feature = feature[3:]
    58             feature = feature[3:]
    59 
    59 
    60         if feature not in checks:
    60         if feature not in checks:
    61             error('skipped: unknown feature: ' + feature)
    61             error('skipped: unknown feature: ' + feature)
    62             continue
    62             sys.exit(2)
    63 
    63 
    64         check, desc = checks[feature]
    64         check, desc = checks[feature]
    65         try:
    65         try:
    66             available = check()
    66             available = check()
    67         except Exception, e:
    67         except Exception, e: