SHARE
TWEET

Untitled

a guest Oct 15th, 2013 36 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. tool_path=/path/to/click_ready branch folder
  3. # e.g.; branch=lp:dropping-letters
  4. rm -rf branch
  5. rm -rf $1
  6. branch=$1
  7. # e.g.; click_package=com.ubuntu.dropping-letters
  8. click_package=$2
  9. # e.g.; test=dropping_letters
  10. test=$3
  11.  
  12. bzr branch $branch branch
  13. cd branch
  14. $tool_path/click-build.py --bzr-source $branch
  15.  
  16. clickpkgname=`ls -al | grep click | awk {'print $9'}`
  17. adb push $clickpkgname /tmp
  18. installcmd="sudo -u phablet pkcon install-local /tmp/$clickpkgname"
  19. adb shell $installcmd
  20.  
  21. # this may require lp:phablet-tools
  22. phablet-config autopilot --dbus-probe enable
  23.  
  24. phablet-click-test-setup --click $click_package
  25.  
  26. phablet-test-run -v $test
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top