| Index: tools/perf/benchmarks/benchmark_unittest.py
|
| diff --git a/tools/perf/benchmarks/benchmark_unittest.py b/tools/perf/benchmarks/benchmark_unittest.py
|
| index 476804ed536fc00f2d39ba93634411665ec7bc23..5079c9acb698f3bebbf7ecb14c7221620b23d01d 100644
|
| --- a/tools/perf/benchmarks/benchmark_unittest.py
|
| +++ b/tools/perf/benchmarks/benchmark_unittest.py
|
| @@ -75,7 +75,7 @@ def load_tests(_, _2, _3):
|
| benchmarks_dir, top_level_dir, benchmark_module.Benchmark,
|
| pattern='*.py').values()
|
| for benchmark in all_benchmarks:
|
| - if benchmark.PageTestClass() not in all_measurements:
|
| + if hasattr(benchmark, 'test') and benchmark.test not in all_measurements:
|
| # If the benchmark is not in measurements, then it is not composable.
|
| # Ideally we'd like to test these as well, but the non-composable
|
| # benchmarks are usually long-running benchmarks.
|
|
|