Merge lp:~fginther/autopilot/uinput-fallback into lp:autopilot
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Omer Akram | ||||
Approved revision: | 212 | ||||
Merged at revision: | 211 | ||||
Proposed branch: | lp:~fginther/autopilot/uinput-fallback | ||||
Merge into: | lp:autopilot | ||||
Diff against target: |
62 lines (+16/-4) 2 files modified
autopilot/input/_uinput.py (+12/-2) autopilot/tests/functional/test_input_stack.py (+4/-2) |
||||
To merge this branch: | bzr merge lp:~fginther/autopilot/uinput-fallback | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Omer Akram (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Christopher Lee (community) | Approve | ||
Thomi Richards (community) | Needs Fixing | ||
Review via email:
|
Commit message
Allow fallback to /dev/uinput if /dev/autopilot-
The touch image does not support udev and therefore does not have /dev/autopilot-
Description of the change
Allow fallback to /dev/uinput if /dev/autopilot-
The touch image does not support udev and therefore does not have /dev/autopilot-
If /dev/autopilot-
RuntimeError: Unable to instantiate any backends
UInput: UInputError(
om26er tested the fix on a touch image.
There are functional tests that need to be updated as well, specifically:
autopilot/ tests/functiona l/test_ input_stack. py line 44