~pwlars/ubuntu-test-cases/auto-offline-devices

« back to all changes in this revision

Viewing changes to utils/host/autopilot-run

  • Committer: Andy Doan
  • Date: 2014-04-23 19:21:18 UTC
  • mto: This revision was merged to the branch mainline in revision 221.
  • Revision ID: andy.doan@canonical.com-20140423192118-pc37rpziylei3nni
add bootchart test

In order to comply with the qa-dashboard expectations, this test
produces a "boot.json" file that re-labels steps to things it
expects like xorg

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
3
 
AUTOPILOT="autopilot"
4
 
if [ "$1" = "-3" ]; then
5
 
        AUTOPILOT="autopilot3"
6
 
        shift
7
 
fi
8
3
 
9
4
UTAH_PROBE_DIR="${UTAH_PROBE_DIR-/var/cache/utah-probes}"
10
5
adb-shell mkdir -p /tmp/xmlresults
11
6
 
12
 
adb-shell sudo -i -u phablet bash -ic \"cd /home/phablet/autopilot \; UTAH_PROBE_DIR=$UTAH_PROBES_DIR $AUTOPILOT run -v -f xml -o /tmp/xmlresults/$*.xml $*\"
 
7
adb-shell sudo -i -u phablet bash -ic \"cd /home/phablet/autopilot \; UTAH_PROBE_DIR=$UTAH_PROBES_DIR autopilot run -v -f xml -o /tmp/xmlresults/$*.xml $*\"