Skip to content

Instantly share code, notes, and snippets.

@bobsilverberg
Created March 21, 2013 15:52
Show Gist options
  • Select an option

  • Save bobsilverberg/5214118 to your computer and use it in GitHub Desktop.

Select an option

Save bobsilverberg/5214118 to your computer and use it in GitHub Desktop.
#!/bin/bash
COUNTER=0
while [ $COUNTER -lt 50 ]; do
echo The counter is $COUNTER
adb reboot
sleep 70
adb forward tcp:2828 tcp:2828
gaiatest --address=localhost:2828 --testvars=mine/b2g.gaia.json gaiatest/tests/browser/test_browser_cell_data.py
rc=$?
if [[ $rc != 0 ]] ; then
exit $rc
fi
let COUNTER=COUNTER+1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment