MCPcopy Index your code
hub / github.com/nodejs/node / HasCrashed

Method HasCrashed

tools/test.py:653–660  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

651 return not outcome in self.test.outcomes
652
653 def HasCrashed(self):
654 if utils.IsWindows():
655 return 0x80000000 & self.output.exit_code and not (0x3FFFFF00 & self.output.exit_code)
656 else:
657 # Timed out tests will have exit_code -signal.SIGTERM.
658 if self.output.timed_out:
659 return False
660 return self.output.exit_code < 0
661
662 def HasTimedOut(self):
663 return self.output.timed_out

Callers 7

UnexpectedOutputMethod · 0.95
GetFailureOutputMethod · 0.45
RunSingleMethod · 0.45
HasRunMethod · 0.45
HasRunMethod · 0.45
HasRunMethod · 0.45
HasRunMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected