Commit f144adf3 authored by tonyg@chromium.org's avatar tonyg@chromium.org

[Telemetry] Include endure in smoke test.

BUG=

Review URL: https://codereview.chromium.org/187963002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255264 0039d316-1c4b-4281-b951-d872f2087c98
parent 330ba6d8
...@@ -6,7 +6,6 @@ import logging ...@@ -6,7 +6,6 @@ import logging
import os import os
import unittest import unittest
from measurements import endure
from telemetry import test from telemetry import test
from telemetry.core import discover from telemetry.core import discover
from telemetry.page import page_measurement from telemetry.page import page_measurement
...@@ -38,17 +37,15 @@ class MeasurementUnitTest(unittest.TestCase): ...@@ -38,17 +37,15 @@ class MeasurementUnitTest(unittest.TestCase):
# benchmarks are usually long-running benchmarks. # benchmarks are usually long-running benchmarks.
continue continue
if benchmark.test == endure.Endure:
# Endure is too long running for a smoke test.
continue
if hasattr(benchmark, 'generated_profile_archive'): if hasattr(benchmark, 'generated_profile_archive'):
# We'd like to test these, but don't know how yet. # We'd like to test these, but don't know how yet.
continue continue
# Ensure we only benchmark a single page. # Only measure a single page so that this test cycles reasonably quickly.
benchmark.options['pageset_repeat_iters'] = 1 benchmark.options['pageset_repeat_iters'] = 1
benchmark.options['page_repeat_iters'] = 1 benchmark.options['page_repeat_iters'] = 1
benchmark.options['page_repeat_secs'] = 1
class SinglePageBenchmark(benchmark): # pylint: disable=W0232 class SinglePageBenchmark(benchmark): # pylint: disable=W0232
def CreatePageSet(self, options): def CreatePageSet(self, options):
# pylint: disable=E1002 # pylint: disable=E1002
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment