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

Unified Diff: client/cros/chrome_test.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 10 years 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: client/cros/chrome_test.py
diff --git a/client/bin/site_chrome_test.py b/client/cros/chrome_test.py
similarity index 93%
rename from client/bin/site_chrome_test.py
rename to client/cros/chrome_test.py
index 8969a8bde5ee69ed905d3f7c87adefaf825ef9ae..f8cc809012122ef76b9d583f5555e2f38f5c20a5 100644
--- a/client/bin/site_chrome_test.py
+++ b/client/cros/chrome_test.py
@@ -3,8 +3,10 @@
# found in the LICENSE file.
import logging, os, re, shutil, subprocess, tempfile, utils
+import common
kmixter1 2010/12/16 03:12:57 style is to put these all on one line. Should you
ericli 2010/12/17 21:48:39 common is a very special hack by autotest design,
+import ui
from autotest_lib.client.bin import test
-from autotest_lib.client.common_lib import error, global_config, site_ui
+from autotest_lib.client.common_lib import error, global_config
class ChromeTestBase(test.test):
home_dir = None
@@ -48,7 +50,7 @@ class ChromeTestBase(test.test):
test_binary)
cmd = 'HOME=%s CR_SOURCE_ROOT=%s %s' % (self.home_dir,
self.cr_source_dir,
- site_ui.xcommand(cmd))
+ ui.xcommand(cmd))
logging.debug("Running %s" % cmd)
test_proc = subprocess.Popen(cmd,
shell=True,
@@ -74,7 +76,7 @@ class ChromeTestBase(test.test):
cmd = '%s/%s %s' % (self.test_binary_dir, test_to_run, extra_params)
cmd = 'HOME=%s CR_SOURCE_ROOT=%s %s' % (self.home_dir,
self.cr_source_dir,
- site_ui.xcommand(cmd))
+ ui.xcommand(cmd))
utils.system(cmd)
except error.CmdError, e:
logging.debug(e)

Powered by Google App Engine
This is Rietveld 408576698