Merge lp://staging/~kejun-zhou/lava-android-test/usbhardware into lp://staging/lava-android-test

Proposed by Kejun ZHOU
Status: Superseded
Proposed branch: lp://staging/~kejun-zhou/lava-android-test/usbhardware
Merge into: lp://staging/lava-android-test
Diff against target: 80 lines (+62/-0)
3 files modified
MANIFEST.in (+2/-0)
lava_android_test/test_definitions/usbhardware.py (+47/-0)
lava_android_test/test_definitions/usbhardware/usbhardware.sh (+13/-0)
To merge this branch: bzr merge lp://staging/~kejun-zhou/lava-android-test/usbhardware
Reviewer Review Type Date Requested Status
Yongqin Liu Pending
Review via email: mp+107185@code.staging.launchpad.net

This proposal supersedes a proposal from 2012-05-23.

This proposal has been superseded by a proposal from 2012-05-24.

Description of the change

This test checks the value of "/sys/class/android_usb/android0/state" on Android system to show whether the USB port being used or not.

To post a comment you must log in.
Revision history for this message
Andy Doan (doanac) wrote : Posted in a previous version of this proposal

looks like you should just delete line 42:
+#PATTERN = "^(?P<test_case_id>\w+):\W+(?P<measurement>\d+\.\d+)"

line 63: + echo "state=unexist"
should that be "echo usbhardware=fail" ?

Revision history for this message
Yongqin Liu (liuyq0307) wrote : Posted in a previous version of this proposal

1. lava_android_test/test_definitions/usbhardware/usbhardware.sh seems not work on android.
   when run it reports "[: /sys/class/android_usb/android0/state: unexpected operator/operand"
2. Panda board has normal usb ports and mini usb port two types

review: Needs Fixing

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches