tests/hghave.py
changeset 26068 05e7f57c74ac
parent 26067 8107c308ff22
child 26109 bad09bd22b6a
--- 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)