##// END OF EJS Templates
pyoxidized: add a `pyoxidizer` hghave keyword for line matching...
marmoute -
r48639:94158c54 stable
parent child Browse files
Show More
@@ -199,6 +199,11 b' def has_rhg():'
199 return 'RHG_INSTALLED_AS_HG' in os.environ
199 return 'RHG_INSTALLED_AS_HG' in os.environ
200
200
201
201
202 @check("pyoxidizer", "running with pyoxidizer build as 'hg'")
203 def has_rhg():
204 return 'PYOXIDIZED_INSTALLED_AS_HG' in os.environ
205
206
202 @check("cvs", "cvs client/server")
207 @check("cvs", "cvs client/server")
203 def has_cvs():
208 def has_cvs():
204 re = br'Concurrent Versions System.*?server'
209 re = br'Concurrent Versions System.*?server'
@@ -3241,6 +3241,10 b' class TestRunner(object):'
3241 )
3241 )
3242 full_path = os.path.join(reporootdir, bin_path)
3242 full_path = os.path.join(reporootdir, bin_path)
3243 self._hgcommand = full_path
3243 self._hgcommand = full_path
3244 # Affects hghave.py
3245 osenvironb[b'PYOXIDIZED_INSTALLED_AS_HG'] = b'1'
3246 else:
3247 osenvironb.pop(b'PYOXIDIZED_INSTALLED_AS_HG', None)
3244
3248
3245 osenvironb[b"BINDIR"] = self._bindir
3249 osenvironb[b"BINDIR"] = self._bindir
3246 osenvironb[b"PYTHON"] = PYTHON
3250 osenvironb[b"PYTHON"] = PYTHON
General Comments 0
You need to be logged in to leave comments. Login now