Autopilot tests need to use autopkgtest runner
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dropping Letters |
Invalid
|
Undecided
|
Unassigned | ||
Sudoku App |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu Calculator App |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu Calendar App |
Fix Released
|
Undecided
|
Nicholas Skaggs | ||
Ubuntu Clock App |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu File Manager App |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu Music App |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu Notes app |
Fix Released
|
Undecided
|
Nicholas Skaggs | ||
Ubuntu Shorts App |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu Terminal App |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu Weather App |
Invalid
|
Undecided
|
Unassigned | ||
camera-app |
Invalid
|
Undecided
|
Unassigned | ||
gallery-app |
Invalid
|
Undecided
|
Unassigned | ||
notes-app |
Invalid
|
Undecided
|
Unassigned | ||
reminders-app (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Since autopkgtest now supports running autopilot tests for click packages, we should migrate to test provisioning and running via adt.
To do this, update the manifest to specify your test dependencies (look in your debian/control at the depends specified for your *-autopilot package). Specify them like so in the manifest file (copied from http://
If a test does not need any additional dependencies, you can are all set. IE,
"x-test": {
}
For those that do, specify them like so:
"x-test": {
}
}
Tests can then be run by calling them via adt and specifying a target, like a phone. EG,
adt-run folder-of-branch/ click-package.click --- \ test-runner
For example;
adt-run ubuntu-
ssh -s /usr/share/
Note you'll need to provide the click package, so build it first. If you have native code, you'll need to cross compile. You can use click-buddy or qtcreator (or your favorite tool) to build.
-----------
Example;
bzr branch lp:~nskaggs/music-app/autopkgtest music-app
click-buddy --dir music-app
adt-run music-app/ com.ubuntu.
Related branches
- Martin Pitt (community): Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 21 lines (+7/-4)1 file modifiedclick/manifest.json.in (+7/-4)
- Nicholas Skaggs (community): Disapprove
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Martin Pitt: Needs Fixing
-
Diff: 192 lines (+60/-50)3 files modifiedclick/manifest.json.in (+11/-8)
tests/autopilot/notes_app/tests/__init__.py (+48/-41)
tests/autopilot/notes_app/tests/test_delete.py (+1/-1)
- David Planella: Approve
- Nicholas Skaggs (community): Needs Fixing
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Martin Pitt: Pending requested
-
Diff: 19 lines (+7/-4)1 file modifiedmanifest.json (+7/-4)
description: | updated |
description: | updated |
Changed in dropping-letters: | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
Changed in sudoku-app: | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
Changed in ubuntu-calculator-app: | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
Changed in ubuntu-calendar-app: | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
Changed in ubuntu-filemanager-app: | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
Changed in music-app: | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
Changed in ubuntu-rssreader-app: | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
Changed in reminders-app: | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
Changed in ubuntu-terminal-app: | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
Changed in ubuntu-weather-app: | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in music-app: | |
status: | New → In Progress |
Changed in notes-app: | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
status: | Incomplete → In Progress |
Changed in reminders-app: | |
status: | Confirmed → In Progress |
Changed in ubuntu-calendar-app: | |
status: | Fix Committed → Fix Released |
Changed in reminders-app: | |
status: | Fix Committed → Fix Released |
description: | updated |
Changed in notes-app: | |
assignee: | Nicholas Skaggs (nskaggs) → nobody |
status: | In Progress → Invalid |
The calculator app doesn't need any conversion, it does not have additional test dependencies.