| Index: tools/perf/benchmarks/benchmark_smoke_unittest.py
|
| diff --git a/tools/perf/benchmarks/benchmark_smoke_unittest.py b/tools/perf/benchmarks/benchmark_smoke_unittest.py
|
| index bed257ebb9736c0a777a899a4fc23aed7018d43f..a3828616c33808f26c13ca1919f5df26fdd147db 100644
|
| --- a/tools/perf/benchmarks/benchmark_smoke_unittest.py
|
| +++ b/tools/perf/benchmarks/benchmark_smoke_unittest.py
|
| @@ -77,8 +77,8 @@
|
| benchmarks_dir, top_level_dir, benchmark_module.Benchmark,
|
| index_by_class_name=False).values()
|
| for benchmark in all_benchmarks:
|
| - if hasattr(benchmark, 'test') and benchmark.test not in all_measurements:
|
| - # If the benchmark does not have a measurement, then it is not composable.
|
| + if benchmark.PageTestClass() 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.
|
| continue
|
|
|