Method
__init__
(self, formats, tests, gyp_options, verbose)
Source from the content-addressed store, hash-verified
| 166 | |
| 167 | class Runner: |
| 168 | def __init__(self, formats, tests, gyp_options, verbose): |
| 169 | self.formats = formats |
| 170 | self.tests = tests |
| 171 | self.verbose = verbose |
| 172 | self.gyp_options = gyp_options |
| 173 | self.failures = [] |
| 174 | self.num_tests = len(formats) * len(tests) |
| 175 | num_digits = len(str(self.num_tests)) |
| 176 | self.fmt_str = "[%%%dd/%%%dd] (%%s) %%s" % (num_digits, num_digits) |
| 177 | self.isatty = sys.stdout.isatty() and not self.verbose |
| 178 | self.env = os.environ.copy() |
| 179 | self.hpos = 0 |
| 180 | |
| 181 | def run(self): |
| 182 | run_start = time.time() |
Callers
nothing calls this directly
Tested by
no test coverage detected