Index: client/site_tests/desktopui_UITest/desktopui_UITest.py |
diff --git a/client/site_tests/desktopui_UITest/desktopui_UITest.py b/client/site_tests/desktopui_UITest/desktopui_UITest.py |
deleted file mode 100644 |
index edaa842714313747cec860a9c0755ef864984802..0000000000000000000000000000000000000000 |
--- a/client/site_tests/desktopui_UITest/desktopui_UITest.py |
+++ /dev/null |
@@ -1,38 +0,0 @@ |
-# Copyright (c) 2010 The Chromium OS 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 logging, os, utils |
-from autotest_lib.client.bin import test |
-from autotest_lib.client.common_lib import error, site_ui |
- |
-class desktopui_UITest(test.test): |
- version = 1 |
- |
- def setup(self): |
- self.job.setup_dep(['chrome_test']) |
- # create a empty srcdir to prevent the error that checks .version file |
- if not os.path.exists(self.srcdir): |
- os.mkdir(self.srcdir) |
- |
- |
- def run_once(self): |
- dep = 'chrome_test' |
- dep_dir = os.path.join(self.autodir, 'deps', dep) |
- self.job.install_pkg(dep, 'dep', dep_dir) |
- |
- chrome_dir = '/opt/google/chrome' |
- test_binary_dir = '%s/test_src/out/Release' % dep_dir |
- |
- try: |
- setup_cmd = '%s/%s' % (test_binary_dir, |
- 'setup_test_links.sh') |
- utils.system(setup_cmd) |
- |
- cmd = '%s/%s' % (test_binary_dir, 'ui_tests') |
- cmd = site_ui.xcommand(cmd) |
- logging.info("Running %s" % cmd) |
- utils.system(cmd) |
- except error.CmdError, e: |
- logging.debug(e) |
- raise error.TestFail('browser_test failed.') |