(self)
| 517 | return return_code |
| 518 | |
| 519 | def run_tests(self): |
| 520 | if not self.tests: |
| 521 | return 0 |
| 522 | if "ALL" in self.tests: |
| 523 | tests = "" |
| 524 | else: |
| 525 | tests = " ".join(self.tests) |
| 526 | run_tests = V8_DIR / "tools" / "run-tests.py" |
| 527 | test_runner_args = " ".join(self.testrunner_args) |
| 528 | return _call( |
| 529 | f'"{sys.executable }" {run_tests} --outdir={self.path} {tests} {test_runner_args}' |
| 530 | ) |
| 531 | |
| 532 | |
| 533 | # Contrary to RawConfig, takes arch and mode, and sets everything up |