tests/hghave
changeset 1185 5ac75dd311d5
parent 1182 e553e222bd7e
equal deleted inserted replaced
1181:07a7aabca5ce 1185:5ac75dd311d5
    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: