Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: tools/perf/benchmarks/benchmark_smoke_unittest.py

Issue 653233002: Add BenchmarkOptionsTest. Move smoke test to benchmark_smoke_unittest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Run the first page of every benchmark that has a composable measurement. 5 """Run the first page of every benchmark that has a composable measurement.
6 6
7 Ideally this test would be comprehensive, but the above serves as a 7 Ideally this test would be comprehensive, but the above serves as a
8 kind of smoke test. 8 kind of smoke test.
9 """ 9 """
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 if hasattr(benchmark, 'generated_profile_archive'): 88 if hasattr(benchmark, 'generated_profile_archive'):
89 # We'd like to test these, but don't know how yet. 89 # We'd like to test these, but don't know how yet.
90 continue 90 continue
91 91
92 class BenchmarkSmokeTest(unittest.TestCase): 92 class BenchmarkSmokeTest(unittest.TestCase):
93 pass 93 pass
94 setattr(BenchmarkSmokeTest, benchmark.Name(), SmokeTestGenerator(benchmark)) 94 setattr(BenchmarkSmokeTest, benchmark.Name(), SmokeTestGenerator(benchmark))
95 suite.addTest(BenchmarkSmokeTest(benchmark.Name())) 95 suite.addTest(BenchmarkSmokeTest(benchmark.Name()))
96 96
97 return suite 97 return suite
OLDNEW
« no previous file with comments | « no previous file | tools/perf/benchmarks/benchmark_unittest.py » ('j') | tools/perf/benchmarks/benchmark_unittest.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698