MCPcopy Create free account
hub / github.com/nodejs/node / _get_env

Method _get_env

deps/v8/tools/testrunner/local/command.py:167–175  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

165 return self._to_args_list()
166
167 def _get_env(self):
168 env = os.environ.copy()
169 env.update(self.env)
170 # GTest shard information is read by the V8 tests runner. Make sure it
171 # doesn't leak into the execution of gtests we're wrapping. Those might
172 # otherwise apply a second level of sharding and as a result skip tests.
173 env.pop('GTEST_TOTAL_SHARDS', None)
174 env.pop('GTEST_SHARD_INDEX', None)
175 return env
176
177 def _kill_process(self, process):
178 raise NotImplementedError()

Callers 3

_start_processMethod · 0.95
_start_processMethod · 0.80
_start_processMethod · 0.80

Calls 3

popMethod · 0.80
copyMethod · 0.65
updateMethod · 0.65

Tested by

no test coverage detected