Revert changes to jobset.py

pull/8008/head
Craig Tiller 8 years ago
parent 99b923d0d6
commit 47284bec5c
  1. 4
      tools/run_tests/jobset.py

@ -228,14 +228,10 @@ class Job(object):
env.update(self._spec.environ) env.update(self._spec.environ)
env.update(self._add_env) env.update(self._add_env)
env = sanitized_environment(env) env = sanitized_environment(env)
penv = {}
penv.update(self._spec.environ)
penv.update(self._add_env)
self._start = time.time() self._start = time.time()
cmdline = self._spec.cmdline cmdline = self._spec.cmdline
if measure_cpu_costs: if measure_cpu_costs:
cmdline = ['time', '--portability'] + cmdline cmdline = ['time', '--portability'] + cmdline
print('\n\ncmdline: %s\nenv: %s\n' % (cmdline, penv))
try_start = lambda: subprocess.Popen(args=cmdline, try_start = lambda: subprocess.Popen(args=cmdline,
stderr=subprocess.STDOUT, stderr=subprocess.STDOUT,
stdout=self._tempfile, stdout=self._tempfile,

Loading…
Cancel
Save