tree: 13341879ae86425d6e5420eb02b0a6c2814841d3 [path history] [tgz]
  1. lib/
  2. control
  3. generate_android_fs_config_file.py
  4. mksquashfs
  5. provision_CheetsUpdate.py
  6. push_to_device.py
  7. README.md
  8. shift_uid.py
  9. unsquashfs
server/site_tests/provision_CheetsUpdate/README.md

Android presubmit code locations

Uprevs

The files here are copied from Android tree, for example https://googleplex-android.googlesource.com/platform/tools/vendor/google_prebuilts/arc/+/master/push_to_device.py

There are several other prebuilds that needs to be maintained too.

Testing your changes

In order to test your changes, run the test locally. Copy push_to_device.py from Android and obtain prebuilt and run:

$ ./push_to_device.py --use-prebuilt-file ~/cheets_arm-img-4801564.zip --simg2img /usr/bin/simg2img --mksquashfs-path ./mksquashfs IP --loglevel DEBUG

Or run the autotest with:

(chroot) $ test_that IP provision_CheetsUpdate --args='value=git_nyc-mr1-arc/cheets_arm-user/4801564' -b kevin

Updating

After you submit your changes, Chrome OS lab deputy will push it to prod. Send a heads up to Chrome OS lab deputy that this change is there.

Make sure that it is possible to pass presubmit after the change is pushed to prod.