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

Method print_results

tools/gyp/test_gyp.py:242–256  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

240 self.hpos = 0
241
242 def print_results(self):
243 num_failures = len(self.failures)
244 if num_failures:
245 print()
246 if num_failures == 1:
247 print("Failed the following test:")
248 else:
249 print("Failed the following %d tests:" % num_failures)
250 print("\t" + "\n\t".join(sorted(self.failures)))
251 print()
252 print(
253 "Ran %d tests in %.3fs, %d failed."
254 % (self.num_tests, self.took, num_failures)
255 )
256 print()
257
258
259if __name__ == "__main__":

Callers 1

mainFunction · 0.95

Calls 3

sortedFunction · 0.85
printFunction · 0.50
joinMethod · 0.45

Tested by

no test coverage detected