Cannot run autopilot's own autopilot tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopilot (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm not even sure if this is a valid use case. If not, feel free to mark this bug Invalid.
If you adb shell into the emulator (but a touch device is also appropriate), and apt-get install all the autopilot packages, you can get a list of all the tests via `autopilot list autopilot`.
However, you cannot run these tests via `autopilot run autopilot` while adb shell'd in. Here's an excerpt of the types of failures you will see:
Traceback (most recent call last):
File "/usr/lib/
obj.
File "/usr/lib/
move_
File "/usr/lib/
Mouse.
File "/usr/lib/
"Cannot create a Mouse on devices where X11 is not available."
RuntimeError: Cannot create a Mouse on devices where X11 is not available.
}}}
=======
FAIL: autopilot.
-------
Traceback (most recent call last):
File "/usr/lib/
"[Errno 13] Permission denied: '%s'" % f.name
File "/usr/lib/
raise AssertionError(msg)
AssertionError: Expected to be called once. Called 0 times.
Ran 726 tests in 521.330s
FAILED (failures=133)
If it's expected that `autopilot run autopilot` should work, please tell me how to run them correctly, and if they work for you.