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

Unified Diff: client/bin/site_job.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
« no previous file with comments | « no previous file | client/bin/site_log_reader.py » ('j') | client/cros/chrome_test.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/bin/site_job.py
diff --git a/client/bin/site_job.py b/client/bin/site_job.py
index 5579f82e61139bcab32ac05525db03ca5ca4a767..72d1afbad2daf206f41f88af42ce0030ee443f39 100755
--- a/client/bin/site_job.py
+++ b/client/bin/site_job.py
@@ -3,21 +3,19 @@
# found in the LICENSE file.
import os
-
-from autotest_lib.client.bin import boottool, site_logging, utils
+from datetime import datetime
+from autotest_lib.client.bin import boottool, utils
from autotest_lib.client.bin.job import base_client_job
from autotest_lib.client.common_lib import error
-from datetime import datetime
+from autotest_lib.client.cros import log_reader
+
LAST_BOOT_TAG = object()
class site_job(base_client_job):
- def __init__(self, *args, **kwargs):
- base_client_job.__init__(self, *args, **kwargs)
-
def run_test(self, url, *args, **dargs):
- log_pauser = site_logging.LogRotationPauser()
+ log_pauser = log_reader.LogRotationPauser()
kmixter1 2010/12/16 03:12:57 If you collapse site_log_reader and site_logging,
ericli 2010/12/17 21:48:39 I agree. I have some initial concern about prefix
passed = False
try:
log_pauser.begin()
« no previous file with comments | « no previous file | client/bin/site_log_reader.py » ('j') | client/cros/chrome_test.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698