Merge lp:~doanac/ubuntu-test-cases/simplify-touch-part2 into lp:ubuntu-test-cases/smoke-touch-apps
Proposed by
Andy Doan
Status: | Merged |
---|---|
Merged at revision: | 81 |
Proposed branch: | lp:~doanac/ubuntu-test-cases/simplify-touch-part2 |
Merge into: | lp:ubuntu-test-cases/smoke-touch-apps |
Prerequisite: | lp:~doanac/ubuntu-test-cases/simplify-touch |
Diff against target: |
255 lines (+58/-40) 23 files modified
calendar-app-autopilot/tslist.auto (+2/-2) camera-app-autopilot/tslist.auto (+2/-2) friends-app-autopilot/tslist.auto (+2/-2) gallery-app-autopilot/tslist.auto (+2/-2) mediaplayer-app-autopilot/tslist.auto (+2/-2) memevent/tslist.auto (+2/-2) music-app-autopilot/tslist.auto (+2/-2) notes-app-autopilot/tslist.auto (+2/-2) phone-app-autopilot/tslist.auto (+2/-2) phone-app-connected-autopilot/tslist.auto (+2/-2) share-app-autopilot/tslist.auto (+2/-2) ubuntu-calculator-app-autopilot/tslist.auto (+2/-2) ubuntu-clock-app-autopilot/tslist.auto (+2/-2) ubuntu-docviewer-app-autopilot/tslist.auto (+2/-2) ubuntu-filemanager-app-autopilot/tslist.auto (+2/-2) ubuntu-rssreader-app-autopilot/tslist.auto (+2/-2) ubuntu-terminal-app-autopilot/tslist.auto (+2/-2) ubuntu-weather-app-autopilot/tslist.auto (+2/-2) unity8-autopilot/tslist.auto (+2/-2) utils/target/autopilot-list (+13/-0) utils/target/autopilot-run (+4/-0) utils/target/prepare-autopilot-test.sh (+1/-0) webbrowser-app-autopilot/tslist.auto (+2/-2) |
To merge this branch: | bzr merge lp:~doanac/ubuntu-test-cases/simplify-touch-part2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Larson | Approve | ||
Review via email: mp+181696@code.launchpad.net |
Description of the change
this moves the tests over to using some common scripts to do all their heavy lifting. with this in place, the next step is to provide equivalent scripts that can run from the host.
To post a comment you must log in.
The code looks fine.
I have a couple of comments, though:
- Default values
Instead of this approach to define default values:
app=$1
pat=$app
rep=$app.tests.
...
[ -z "$2" ] || pat=$2
[ -z "$3" ] || rep=$3
I think it's more common to use this one:
app=$1 -$app.tests. }
pat=${2:-$app}
rep=${3:
- utah-autopilot
This branch replaces utah-autopilot with autopilot-run and this introduces some
duplication. I believe that either autopilot-run should be in utah or
utah-autopilot should be removed from utah.