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

Method RunTest

deps/v8/tools/bigint-tester.py:107–117  ·  view source on GitHub ↗
(self, count, binary)

Source from the content-addressed store, hash-verified

105 print(self.EmitTestBody())
106
107 def RunTest(self, count, binary):
108 try:
109 fd, path = tempfile.mkstemp(suffix=".js", prefix="bigint-test-")
110 with open(path, "w") as f:
111 f.write(self.EmitData(count))
112 f.write(self.EmitTestBody())
113 return subprocess.call("%s %s" % (binary, path),
114 shell=True)
115 finally:
116 os.close(fd)
117 os.remove(path)
118
119class UnaryOp(TestGenerator):
120 # Subclasses must implement these two.

Callers 1

RunOneFunction · 0.80

Calls 7

EmitDataMethod · 0.95
EmitTestBodyMethod · 0.95
closeMethod · 0.65
openFunction · 0.50
writeMethod · 0.45
callMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected