=== modified file 'doc/changes.rst'
@@ -1,6 +1,19 @@
Version History
***************
+.. _version_0_3_4:
+
+Version 0.3.4(Milestone 11.10)
+==============================
+
+* Documentation for lava-dispatcher is now available from lava-dispatcher.readthedocs.org
+
+* Added support for snowball boards
+
+* Move bootloader prompt string to device_type configuration file
+
+* Bug fixes: #873043, #861115, #867858, #863091, #872948, #877045, #855384
+
.. _version_0_3:
Version 0.3(Milestone 11.09)
=== added file 'doc/code.rst'
@@ -0,0 +1,12 @@
+
+Code Documentation
+******************
+
+.. automodule:: lava_dispatcher
+ :members:
+
+.. automodule:: lava_dispatcher.client
+ :members:
+
+.. automodule:: lava_dispatcher.android_client
+ :members:
=== modified file 'doc/index.rst'
@@ -45,8 +45,11 @@
* Extensible device types and boards configuration editing, can add new device and new board.
* Make use of the output of LAVA test, which is Linaro Dashboard Bundle format, upload test results to the LAVA Dashboard for result archiving and analysis.
-.. seealso:: See what's new in :ref:`version_0_3`
-
+.. seealso:: See what's new in :ref:`version_0_3_4`
+
+.. todo::
+
+ Add inline document to source code and open code reference in doc
Latest documentation
====================
=== modified file 'lava_dispatcher/android_client.py'
@@ -31,6 +31,10 @@
class LavaAndroidClient(LavaClient):
+ """
+ LavaAndroidClient manipulates the board running Android system, bootup,
+ reset, power off the board, sends commands to board to execute
+ """
def __init__(self, context, config):
LavaClient.__init__(self, context, config)
# use a random result directory on android for they are using same host
=== modified file 'lava_dispatcher/client.py'
@@ -28,6 +28,10 @@
import logging
class LavaClient(object):
+ """
+ LavaClient manipulates the target board, bootup, reset, power off the board,
+ sends commands to board to execute
+ """
def __init__(self, context, config):
self.context = context
self.config = config
@@ -81,7 +85,8 @@
return self.device_option("lmc_dev_arg")
def in_master_shell(self, timeout=10):
- """ Check that we are in a shell on the master image
+ """
+ Check that we are in a shell on the master image
"""
self.proc.sendline("")
id = self.proc.expect([self.master_str, pexpect.TIMEOUT],
@@ -90,7 +95,8 @@
raise OperationFailed
def in_test_shell(self):
- """ Check that we are in a shell on the test image
+ """
+ Check that we are in a shell on the test image
"""
self.proc.sendline("")
id = self.proc.expect([self.tester_str, pexpect.TIMEOUT])
@@ -98,7 +104,8 @@
raise OperationFailed
def boot_master_image(self):
- """ reboot the system, and check that we are in a master shell
+ """
+ reboot the system, and check that we are in a master shell
"""
self.soft_reboot()
try:
@@ -112,7 +119,8 @@
self.proc.expect(self.master_str)
def boot_linaro_image(self):
- """ Reboot the system to the test image
+ """
+ Reboot the system to the test image
"""
self.soft_reboot()
try:
@@ -290,5 +298,6 @@
class OperationFailed(GeneralError):
- pass
-
+ """
+ The exception throws when a file system or system operation fails.
+ """