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

Issue 6596018: Refactor site_servo, site_vblock and site_gpio module into client/cros package(directory). (Closed)

Created:
9 years, 10 months ago by ericli
Modified:
9 years, 7 months ago
Reviewers:
Hung-Te, Sameer Nanda
CC:
chromium-os-reviews_chromium.org, truty+cc_chromium.org, sosa+cc_chromium.org, seano+cc_chromium.org
Visibility:
Public.

Description

Refactor site_servo, site_vblock and site_gpio module into client/cros package(directory). Change-Id: Iafa730a226541a20d628bb6619b2717c91ca8fbf BUG=chromium-os:12633 TEST=grep the entire autotest repo and find out all source code which has site_servo, site_vblock, site_gpio and changed it. I had performed some extra test steps to ensure factory image was properly built. 1. cros_workon start autotest autotest-deps autotest-tests autotest-factory 2. build_packages && build_image 3. ./image_to_usb.sh --from=... --factory --force_copy --to /tmp/factory.bin 4. image_to_usb.sh factory.bin to an usb. 5. boot from usb and watch the factory test screen, this is my first time to see this screen, impressive! 6. Back to chroot and ./mount_gpt_image.sh --from ../build/images/x86-generic/latest --image=chromiumos_factory_image.bin 7. then inspect /tmp/s/dev_image/usr/lo cal/autotest/cros directory and /tmp/s/dev_image/usr/local/autotest/site_tests/hardware_Components/hardware_Components.py. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=e60f0e6

Patch Set 1 #

Patch Set 2 : patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -12 lines) Patch
A + client/cros/gpio.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + client/cros/servo.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + client/cros/vblock.py View 0 chunks +-1 lines, --1 lines 0 comments Download
M client/site_tests/factory_DeveloperRecovery/factory_DeveloperRecovery.py View 2 chunks +2 lines, -3 lines 0 comments Download
M client/site_tests/factory_PreFinalCheck/factory_PreFinalCheck.py View 2 chunks +2 lines, -2 lines 0 comments Download
M client/site_tests/factory_Verify/factory_Verify.py View 2 chunks +2 lines, -2 lines 0 comments Download
M client/site_tests/hardware_Components/hardware_Components.py View 1 2 chunks +2 lines, -2 lines 0 comments Download
M client/site_tests/hardware_EepromWriteProtect/hardware_EepromWriteProtect.py View 2 chunks +2 lines, -2 lines 0 comments Download
M client/site_tests/hardware_GPIOSwitches/hardware_GPIOSwitches.py View 1 chunk +3 lines, -2 lines 0 comments Download
M client/site_tests/power_Servo/power_Servo.py View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ericli
9 years, 10 months ago (2011-02-25 22:22:16 UTC) #1
Sameer Nanda
While the change itself looks good, can you explain the background for this move? There ...
9 years, 10 months ago (2011-02-25 22:32:29 UTC) #2
ericli
Yes, slowly and eventually. The plan is to migrate all chromeos site_* related modules into ...
9 years, 10 months ago (2011-02-25 22:51:27 UTC) #3
Sameer Nanda
LGTM. And thanks for the explanation! On 2011/02/25 22:51:27, ericli wrote: > Yes, slowly and ...
9 years, 10 months ago (2011-02-25 22:55:31 UTC) #4
ericli
Thanks, also seek an LTGM from hungte. On Fri, Feb 25, 2011 at 2:55 PM, ...
9 years, 10 months ago (2011-02-25 22:58:26 UTC) #5
Hung-Te
Hi Eric, thanks for your code refine. The site_vblock is used by src/third_party/autotest/files/client/site_tests/hardware_Components/hardware_Components.py, so please ...
9 years, 9 months ago (2011-03-01 04:50:17 UTC) #6
Hung-Te
And please file an issue page for that - so we can track how many ...
9 years, 9 months ago (2011-03-01 04:54:42 UTC) #7
ericli
Hi HungTe, Thanks for your advice, PLAL. I had performed some extra test steps to ...
9 years, 9 months ago (2011-03-01 22:05:55 UTC) #8
ericli
On 2011/03/01 04:50:17, Hung-Te wrote: > Hi Eric, thanks for your code refine. > > ...
9 years, 9 months ago (2011-03-01 22:08:34 UTC) #9
Hung-Te
> cros dir is already on the factory image, verified by: > ls /tmp/s/dev_image/usr/local/autotest/cros/ That ...
9 years, 9 months ago (2011-03-02 04:05:18 UTC) #10
ericli
9 years, 9 months ago (2011-03-02 18:02:39 UTC) #11
Done. Pushing, thanks.

Powered by Google App Engine
This is Rietveld 408576698