(self)
| 625 | os.path.join('out', 'x64.release', 'd7'), '--flag', 'run.js') |
| 626 | |
| 627 | def testBuildbot(self): |
| 628 | self._WriteTestInput(V8_JSON) |
| 629 | self._MockCommand(['.'], ['Richards: 1.234\nDeltaBlue: 10657567\n'], |
| 630 | on_bots=True) |
| 631 | mock.patch.object( |
| 632 | run_perf.Platform, 'ReadBuildConfig', |
| 633 | mock.MagicMock(return_value={'is_android': False})).start() |
| 634 | self.assertEqual(0, self._CallMain()) |
| 635 | self._VerifyResults('test', 'score', [ |
| 636 | {'name': 'Richards', 'results': [1.234], 'stddev': ''}, |
| 637 | {'name': 'DeltaBlue', 'results': [10657567.0], 'stddev': ''}, |
| 638 | ]) |
| 639 | self._VerifyErrors([]) |
| 640 | self._VerifyMock(os.path.join('out', 'Release', 'd7'), '--flag', 'run.js') |
| 641 | |
| 642 | def testBuildbotWithTotal(self): |
| 643 | test_input = dict(V8_JSON) |
nothing calls this directly
no test coverage detected