Fix log syntax.

And add better error message when instrumentation test is not
present.

Change-Id: I381421e59a3b667a5c3090ccd49e38fe99d680c5
This commit is contained in:
Brett Chabot
2012-09-11 12:57:31 -07:00
parent 39e3b7fe23
commit 81c475e4ac
3 changed files with 25 additions and 28 deletions

View File

@@ -294,7 +294,7 @@ class TestRunner(object):
if m:
remote_path = m.group(1)
abs_install_path = os.path.join(self._root_path, install_path)
logger.Log("adb push %s %s", abs_install_path, remote_path)
logger.Log("adb push %s %s" % (abs_install_path, remote_path))
self._adb.Push(abs_install_path, remote_path)
else:
logger.Log("Error: Failed to recognize path of file to install %s" % install_path)