Commit 3016b6be authored by Kirill Smelkov's avatar Kirill Smelkov

Revert 'Include spawned command into stderr if Popen fails'

This reverts commit 34e96b1d. Reason for revert is that since bd1333bb
(log += title and argv for ran testcase) we always emit details of
to-be-run command to log in the beginning of testcase run.
parent 50ebc09d
...@@ -184,8 +184,7 @@ def main(): ...@@ -184,8 +184,7 @@ def main():
env.update(envadj) env.update(envadj)
p = Popen(t.argv, env=env, stdin=devnull, stdout=PIPE, stderr=PIPE, bufsize=1, **kw) p = Popen(t.argv, env=env, stdin=devnull, stdout=PIPE, stderr=PIPE, bufsize=1, **kw)
except: except:
stdout = '' stdout, stderr = '', traceback.format_exc()
stderr = 'run %r\n%s' % (t.argv, traceback.format_exc())
sys.stderr.write(stderr) sys.stderr.write(stderr)
status['error_count'] += 1 status['error_count'] += 1
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment