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

Unified Diff: content/test/gpu/gpu_tests/memory_test.py

Issue 560153004: Telemetry: Fix exact_matches in telemetry.test_runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move memory.py to memory_test.py to make the autogenerated name match the buildbot config Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/test/gpu/gpu_tests/memory_test.py
diff --git a/content/test/gpu/gpu_tests/memory.py b/content/test/gpu/gpu_tests/memory_test.py
similarity index 95%
rename from content/test/gpu/gpu_tests/memory.py
rename to content/test/gpu/gpu_tests/memory_test.py
index c8eadc426c25257d8e0153dea2f6e44297906c5a..95b83750b3ccb5800d0a18771c55ce7914295aeb 100644
--- a/content/test/gpu/gpu_tests/memory.py
+++ b/content/test/gpu/gpu_tests/memory_test.py
@@ -1,7 +1,7 @@
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import memory_expectations
+import memory_test_expectations
import page_sets
from telemetry import benchmark
@@ -99,16 +99,15 @@ class _MemoryValidator(page_test.PageTest):
return 'Memory allocation too %s (was %d MB, should be %d MB +/- %d MB)' % (
low_or_high, mb_used, SINGLE_TAB_LIMIT_MB, WIGGLE_ROOM_MB)
-class Memory(benchmark.Benchmark):
+class MemoryTest(benchmark.Benchmark):
"""Tests GPU memory limits"""
test = _MemoryValidator
- page_set = page_sets.MemoryTestsPageSet
def CreateExpectations(self, page_set):
- return memory_expectations.MemoryExpectations()
+ return memory_test_expectations.MemoryTestExpectations()
def CreatePageSet(self, options):
- page_set = super(Memory, self).CreatePageSet(options)
+ page_set = page_sets.MemoryTestsPageSet()
for page in page_set.pages:
page.script_to_evaluate_on_commit = test_harness_script
return page_set
« no previous file with comments | « content/test/gpu/gpu_tests/memory_expectations.py ('k') | content/test/gpu/gpu_tests/memory_test_expectations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698