| Index: tools/gpu/gpu_tools/first_paint_time_benchmark_unittest.py
|
| diff --git a/tools/gpu/gpu_tools/first_paint_time_benchmark_unittest.py b/tools/gpu/gpu_tools/first_paint_time_benchmark_unittest.py
|
| index 95e0b51c0be319023ce9546b2a43b11a0d4504dc..5ceb9bbf1fd23de8f5845385187e4234eb65138f 100644
|
| --- a/tools/gpu/gpu_tools/first_paint_time_benchmark_unittest.py
|
| +++ b/tools/gpu/gpu_tools/first_paint_time_benchmark_unittest.py
|
| @@ -7,7 +7,7 @@ import multi_page_benchmark
|
| class FirstPaintTimeBenchmarkUnitTest(
|
| multi_page_benchmark.MultiPageBenchmarkUnitTest):
|
|
|
| - def testBasicFunctionality(self):
|
| + def testFirstPaintTimeMeasurement(self):
|
| ps = self.CreatePageSetFromFileInUnittestDataDir('scrollable_page.html')
|
|
|
| benchmark = first_paint_time_benchmark.FirstPaintTimeBenchmark()
|
| @@ -21,4 +21,7 @@ class FirstPaintTimeBenchmarkUnitTest(
|
| header)
|
| self.assertEqual(1, len(results))
|
| self.assertTrue('scrollable_page.html' in results[0][0])
|
| + if results[0][1] == "unsupported":
|
| + # This test can't run on content_shell.
|
| + return
|
| self.assertTrue(results[0][1] > 0)
|
|
|