Merge lp:~andreas-pokorny/mir/probe-libinput-platform into lp:mir
| Status: | Merged |
|---|---|
| Approved by: | Andreas Pokorny on 2015-10-05 |
| Approved revision: | 2984 |
| Merged at revision: | 2991 |
| Proposed branch: | lp:~andreas-pokorny/mir/probe-libinput-platform |
| Merge into: | lp:mir |
| Diff against target: |
340 lines (+196/-6) 11 files modified
debian/mir-test-tools.install (+1/-0) include/test/mir_test_framework/executable_path.h (+1/-0) src/CMakeLists.txt (+1/-0) src/common/symbols.map (+3/-3) src/platforms/evdev/platform_factory.cpp (+36/-1) tests/CMakeLists.txt (+1/-0) tests/acceptance-tests/CMakeLists.txt (+0/-2) tests/mir_test_framework/CMakeLists.txt (+1/-0) tests/mir_test_framework/executable_path.cpp (+18/-0) tests/umock-acceptance-tests/CMakeLists.txt (+34/-0) tests/umock-acceptance-tests/test_libinput.cpp (+100/-0) |
| To merge this branch: | bzr merge lp:~andreas-pokorny/mir/probe-libinput-platform |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Alan Griffiths | Approve on 2015-10-05 | ||
| PS Jenkins bot | continuous-integration | Approve on 2015-10-05 | |
| Alexandros Frantzis (community) | Approve on 2015-10-05 | ||
| Brandon Schaefer (community) | 2015-10-01 | Approve on 2015-10-01 | |
|
Review via email:
|
|||
Commit Message
Add more checks in input-evdev platform probing and add umockdev acceptance tests
Now input-evdev claims to be capable of operation when it is not loaded within a nested server and is capable of opening at least one of the evdev devices it finds. mir_umock_
Description of the Change
A step towards automatically probing and loading all available and working input platforms. By probing that libinput is not running in a nested server or has no permission to open evdev devices.
This also adds an acceptance test that relies on libinput and umockdev to a new test binary which should in the end be the only binary of our ci tests that rely on umockdev.
- 2978. By Andreas Pokorny on 2015-10-01
-
disable test for now..
- 2979. By Andreas Pokorny on 2015-10-01
-
slight comment clarification and typo
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2979
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
None: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
None: http://
Click here to trigger a rebuild:
http://
| Alan Griffiths (alan-griffiths) wrote : | # |
*Needs Discussion*
+// ThrowBack alert:
+// This test uses utility headers an external user cannot use, for the sake of this
+// test those utilities just remove some verobsity and avoid code duplication.
+#include "src/include/
I don't think any harm would result from publishing this header?
- 2980. By Andreas Pokorny on 2015-10-02
-
merge lp:mir
- 2981. By Andreas Pokorny on 2015-10-02
-
install new acceptance test binary
| Andreas Pokorny (andreas-pokorny) wrote : | # |
> *Needs Discussion*
>
> +// ThrowBack alert:
> +// This test uses utility headers an external user cannot use, for the sake
> of this
> +// test those utilities just remove some verobsity and avoid code
> duplication.
> +#include "src/include/
>
> I don't think any harm would result from publishing this header?
Ok..
- 2982. By Andreas Pokorny on 2015-10-02
-
ship shared_library
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2981
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2982
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 2983. By Andreas Pokorny on 2015-10-05
-
remove debug output
| Alexandros Frantzis (afrantzis) wrote : | # |
OK. Perhaps also move the SharedLibrary entries in the common/symbols.map from the "supposed to be private" section to the public section.
I don't like exposing internal helper functions/classes just for our own convenience, but since these end up in libmircommon (which is not supposed to be accessed by normal users), it's fine.
| Alan Griffiths (alan-griffiths) wrote : | # |
+ // dumb assumption - nobody runs this test cases as root..
+ // or allows accessing evdev input devices from non privileged users.
I wonder if we could express this in code.
| Alan Griffiths (alan-griffiths) wrote : | # |
Nit: We should update src/common/
[aside] The mix of public and non-public symbols in libmircommon looks entirely accidental and without reason. Maybe we should review this design?
- 2984. By Andreas Pokorny on 2015-10-05
-
move Shared Library to disclosed section
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2983
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2984
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://

FAILED: Continuous integration, rev:2977 jenkins. qa.ubuntu. com/job/ mir-ci/ 5095/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/4221 jenkins. qa.ubuntu. com/job/ mir-clang- vivid-amd64- build/3128/ console jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/4163/ console jenkins. qa.ubuntu. com/job/ mir-mediumtests -wily-touch/ 121/console jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 1249/console jenkins. qa.ubuntu. com/job/ mir-wily- i386-ci/ 121/console jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 4164/console jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- wily-armhf/ 122/console
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- ci/5095/ rebuild
http://