summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4>2010-02-12 00:46:56 +0000
committerjamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4>2010-02-12 00:46:56 +0000
commit59a68f64a10eb03856dd46f765ba3ebfcc628150 (patch)
tree50c8e5b182036a0802522d216990180981c94cba
parent88cfcc1d46f79b7bba603f70fbb21eb74182a87f (diff)
Add basic logging to compile_gwt_clients so that users will actually see the output from utils.run
Signed-off-by: Scott Zawalski <scottz@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@4239 592f7852-d20e-0410-864c-8624ca9c26a4
-rwxr-xr-xutils/compile_gwt_clients.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/compile_gwt_clients.py b/utils/compile_gwt_clients.py
index cc68f3f5..f198d5bd 100755
--- a/utils/compile_gwt_clients.py
+++ b/utils/compile_gwt_clients.py
@@ -1,11 +1,13 @@
#!/usr/bin/python
-import sys, os, shutil, errno, optparse
import common
+import sys, os, shutil, errno, optparse, logging
from autotest_lib.client.common_lib import error, utils
"""
Compile All Autotest GWT Clients Living in autotest/frontend/client/src
"""
+
+logging.basicConfig(level=logging.DEBUG)
_AUTOTEST_DIR = common.autotest_dir
_DEFAULT_GWT_DIR = '/usr/local/lib/gwt'
_DEFAULT_APP_DIR = os.path.join(_AUTOTEST_DIR, 'frontend/client')