equal
deleted
inserted
replaced
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 |