--- a/tests/hghave.py Sat Aug 22 10:28:34 2015 -0700
+++ b/tests/hghave.py Sat Aug 22 10:37:38 2015 -0700
@@ -47,17 +47,16 @@
return result
-def require(features, quiet=False):
+def require(features):
"""Require that features are available, exiting if not."""
result = checkfeatures(features)
- if not quiet:
- for missing in result['missing']:
- sys.stderr.write('skipped: unknown feature: %s\n' % missing)
- for msg in result['skipped']:
- sys.stderr.write('skipped: %s\n' % msg)
- for msg in result['error']:
- sys.stderr.write('%s\n' % msg)
+ for missing in result['missing']:
+ sys.stderr.write('skipped: unknown feature: %s\n' % missing)
+ for msg in result['skipped']:
+ sys.stderr.write('skipped: %s\n' % msg)
+ for msg in result['error']:
+ sys.stderr.write('%s\n' % msg)
if result['missing']:
sys.exit(2)