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

Side by Side Diff: client/site_tests/graphics_O3DSelenium/graphics_O3DSelenium.py

Issue 5740004: Move site_chrome_test, site_logging, site_log_reader, site_crash_test into cros dir. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 11 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS 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 import logging, os, re, shutil 5 import logging, os, re, shutil
6 from autotest_lib.client.bin import utils 6 from autotest_lib.client.bin import utils
7 from autotest_lib.client.common_lib import error 7 from autotest_lib.client.common_lib import error
8 from autotest_lib.client.cros import ui, ui_test 8 from autotest_lib.client.cros import cros_ui_test, ui
9 9
10 class graphics_O3DSelenium(ui_test.UITest): 10 class graphics_O3DSelenium(cros_ui_test.UITest):
11 version = 1 11 version = 1
12 12
13 flaky_test_list = ["TestSampleanimated_sceneLarge", 13 flaky_test_list = ["TestSampleanimated_sceneLarge",
14 "TestSamplebillboardsMedium", 14 "TestSamplebillboardsMedium",
15 "TestSampleconvolutionMedium", 15 "TestSampleconvolutionMedium",
16 "TestSamplegenerate_textureSmall", 16 "TestSamplegenerate_textureSmall",
17 "TestSampleinstance_overrideMedium", 17 "TestSampleinstance_overrideMedium",
18 "TestSamplejugglerMedium", 18 "TestSamplejugglerMedium",
19 "TestSamplesobelMedium", 19 "TestSamplesobelMedium",
20 "TestSampleold_school_shadowsMedium", 20 "TestSampleold_school_shadowsMedium",
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 error_message = "Unexpected failure cases:" 90 error_message = "Unexpected failure cases:"
91 for report_item in report: 91 for report_item in report:
92 if report_item in self.flaky_test_list: 92 if report_item in self.flaky_test_list:
93 ignored_failures += 1 93 ignored_failures += 1
94 logging.info("FAILURE (ignored): %s" % report_item) 94 logging.info("FAILURE (ignored): %s" % report_item)
95 else: 95 else:
96 error_message += " " + report_item 96 error_message += " " + report_item
97 97
98 if failures > ignored_failures: 98 if failures > ignored_failures:
99 raise error.TestFail(error_message) 99 raise error.TestFail(error_message)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698