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

Side by Side Diff: client/site_tests/graphics_GLAPICheck/graphics_GLAPICheck.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 5 import logging, os, re
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_GLAPICheck(ui_test.UITest): 10 class graphics_GLAPICheck(cros_ui_test.UITest):
11 version = 1 11 version = 1
12 preserve_srcdir = True 12 preserve_srcdir = True
13 error_message = "" 13 error_message = ""
14 14
15 15
16 def setup(self): 16 def setup(self):
17 os.chdir(self.srcdir) 17 os.chdir(self.srcdir)
18 utils.make('clean') 18 utils.make('clean')
19 utils.make('all') 19 utils.make('all')
20 20
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 self.error_message) 171 self.error_message)
172 else: 172 else:
173 raise error.TestFail('gles_APICheck error: ' + result) 173 raise error.TestFail('gles_APICheck error: ' + result)
174 174
175 # Check X11 extensions. 175 # Check X11 extensions.
176 self.error_message = "" 176 self.error_message = ""
177 check_result = self.__check_x_extensions(result) 177 check_result = self.__check_x_extensions(result)
178 if not check_result: 178 if not check_result:
179 raise error.TestFail('X extensions insufficient:' + 179 raise error.TestFail('X extensions insufficient:' +
180 self.error_message) 180 self.error_message)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698