tests/hghave.py
changeset 37342 4e6a6d0dccee
parent 37338 cbc4425e81b5
child 37346 45a4799174a1
--- a/tests/hghave.py	Wed Apr 04 12:16:50 2018 -0700
+++ b/tests/hghave.py	Wed Apr 04 13:21:34 2018 -0700
@@ -718,6 +718,10 @@
     except (ImportError, AttributeError):
         return False
 
+@check('extraextensions', 'whether tests are running with extra extensions')
+def has_extraextensions():
+    return 'HGTESTEXTRAEXTENSIONS' in os.environ
+
 def getrepofeatures():
     """Obtain set of repository features in use.