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

Function formatted_result_output

deps/v8/tools/testrunner/testproc/indicators.py:31–45  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

29
30
31def formatted_result_output(result):
32 lines = []
33 if result.output.stderr:
34 lines.append("--- stderr ---")
35 lines.append(result.output.stderr.strip())
36 if result.output.stdout:
37 lines.append("--- stdout ---")
38 lines.append(result.output.stdout.strip())
39 lines.append("Command: %s" % result.cmd.to_string())
40 if result.output.HasCrashed():
41 lines.append("exit code: %s" % result.output.exit_code_string)
42 lines.append("--- CRASHED ---")
43 if result.output.HasTimedOut():
44 lines.append("--- TIMEOUT ---")
45 return '\n'.join(lines)
46
47
48class ProgressIndicator():

Callers 2

finishedMethod · 0.85
send_resultMethod · 0.85

Calls 5

appendMethod · 0.45
to_stringMethod · 0.45
HasCrashedMethod · 0.45
HasTimedOutMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected