clean up NRWT logging/metering, be less verbose
[WebKit-https.git] / Tools / Scripts / webkitpy / performance_tests / perftestsrunner_unittest.py
index 1a287a7..c5891d4 100755 (executable)
@@ -182,7 +182,8 @@ max 1120
                 TestDriverWithStartCount.start_count += 1
 
         buildbot_output = StringIO.StringIO()
-        runner = self.create_runner(buildbot_output, args=["--pause-before-testing"], driver_class=TestDriverWithStartCount)
+        regular_output = StringIO.StringIO()
+        runner = self.create_runner(buildbot_output, args=["--pause-before-testing"], regular_output=regular_output, driver_class=TestDriverWithStartCount)
 
         dirname = runner._base_path + '/inspector/'
         tests = [dirname + 'pass.html']
@@ -193,9 +194,9 @@ max 1120
             unexpected_result_count = runner._run_tests_set(tests, runner._port)
             self.assertEqual(TestDriverWithStartCount.start_count, 1)
         finally:
-            _, stderr, logs = output.restore_output()
+            _, stderr, _ = output.restore_output()
             self.assertEqual(stderr, "Ready to run test?\n")
-            self.assertTrue("Running inspector/pass.html (1 of 1)" in logs)
+            self.assertTrue("Running inspector/pass.html (1 of 1)" in regular_output.getvalue())
 
     def test_run_test_set_for_parser_tests(self):
         buildbot_output = StringIO.StringIO()