$ ls lib/server-modules/ graphics-android.so.7 graphics-dummy.so graphics-mesa-kms.so.8 input-evdev.so.4 input-stub.so server-mesa-x11.so.8 graphics-android.so.8 graphics-mesa-kms.so.7 graphics-throw.so input-evdev.so.5 server-mesa-x11.so.7
$ bin/mir_unit_tests --gtest_filter=InputPlatformProbe* MIR_CLIENT_PLATFORM_PATH=bin/../lib/client-modules/ MIR_SERVER_PLATFORM_PATH=bin/../lib/server-modules/ LD_LIBRARY_PATH=bin/../lib exec=bin/mir_unit_tests.bin Running main() from main.cpp Note: Google Test filter = InputPlatformProbe* [==========] Running 4 tests from 1 test case. [----------] Global test environment set-up. [----------] 4 tests from InputPlatformProbe [ RUN ] InputPlatformProbe.stub_platform_not_picked_up_by_default [2016-02-08 10:25:31.446023] mirserver: Selected input driver: mir:evdev-input (version: 0.20.0) [ OK ] InputPlatformProbe.stub_platform_not_picked_up_by_default (34 ms) [ RUN ] InputPlatformProbe.x11_platform_found_and_used_when_display_connection_works [2016-02-08 10:25:31.460373] mirserver: Selected input driver: mir:x11-input (version: 0.20.0) [2016-02-08 10:25:31.462505] mirserver: Selected input driver: x11-input (version: 0.19.0) [2016-02-08 10:25:31.488286] mirserver: Selected input driver: mir:evdev-input (version: 0.20.0) /home/alan/display_server/development-branch/tests/unit-tests/input/test_input_platform_probing.cpp:149: Failure Value of: platforms Expected: has 2 elements and there exists some permutation of elements such that: - element #0 is a or derived from a N3mir5input5evdev8PlatformE, and - element #1 is a or derived from a N3mir5input1X14XInputPlatformE Actual: { 24-byte object <F0-8F 46-04 00-00 00-00 E0-8F 46-04 00-00 00-00 00-D4 43-04 00-00 00-00>, 24-byte object <60-94 46-04 00-00 00-00 50-94 46-04 00-00 00-00 80-DA 43-04 00-00 00-00>, 24-byte object <A0-D5 43-04 00-00 00-00 90-D5 43-04 00-00 00-00 50-DA 45-04 00-00 00-00> }, which has 3 elements [ FAILED ] InputPlatformProbe.x11_platform_found_and_used_when_display_connection_works (42 ms) [ RUN ] InputPlatformProbe.x11_input_platform_not_used_when_vt_specified [2016-02-08 10:25:31.524523] mirserver: Selected input driver: mir:evdev-input (version: 0.20.0) [ OK ] InputPlatformProbe.x11_input_platform_not_used_when_vt_specified (36 ms) [ RUN ] InputPlatformProbe.allows_forcing_stub_input_platform [2016-02-08 10:25:31.530326] mirserver: Selected input driver: mir:stub-input (version: 0.20.0) [ OK ] InputPlatformProbe.allows_forcing_stub_input_platform (5 ms) [----------] 4 tests from InputPlatformProbe (117 ms total)
[----------] Global test environment tear-down [==========] 4 tests from 1 test case ran. (118 ms total) [ PASSED ] 3 tests. [ FAILED ] 1 test, listed below: [ FAILED ] InputPlatformProbe.x11_platform_found_and_used_when_display_connection_works
1 FAILED TEST
$ ls lib/server-modules/ android. so.7 graphics-dummy.so graphics- mesa-kms. so.8 input-evdev.so.4 input-stub.so server- mesa-x11. so.8 android. so.8 graphics- mesa-kms. so.7 graphics-throw.so input-evdev.so.5 server- mesa-x11. so.7
graphics-
graphics-
$ bin/mir_unit_tests --gtest_ filter= InputPlatformPr obe* PLATFORM_ PATH=bin/ ../lib/ client- modules/ PLATFORM_ PATH=bin/ ../lib/ server- modules/ PATH=bin/ ../lib mir_unit_ tests.bin obe.stub_ platform_ not_picked_ up_by_default obe.stub_ platform_ not_picked_ up_by_default (34 ms) obe.x11_ platform_ found_and_ used_when_ display_ connection_ works display_ server/ development- branch/ tests/unit- tests/input/ test_input_ platform_ probing. cpp:149: Failure ev8PlatformE, and XInputPlatformE obe.x11_ platform_ found_and_ used_when_ display_ connection_ works (42 ms) obe.x11_ input_platform_ not_used_ when_vt_ specified obe.x11_ input_platform_ not_used_ when_vt_ specified (36 ms) obe.allows_ forcing_ stub_input_ platform obe.allows_ forcing_ stub_input_ platform (5 ms)
MIR_CLIENT_
MIR_SERVER_
LD_LIBRARY_
exec=bin/
Running main() from main.cpp
Note: Google Test filter = InputPlatformProbe*
[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from InputPlatformProbe
[ RUN ] InputPlatformPr
[2016-02-08 10:25:31.446023] mirserver: Selected input driver: mir:evdev-input (version: 0.20.0)
[ OK ] InputPlatformPr
[ RUN ] InputPlatformPr
[2016-02-08 10:25:31.460373] mirserver: Selected input driver: mir:x11-input (version: 0.20.0)
[2016-02-08 10:25:31.462505] mirserver: Selected input driver: x11-input (version: 0.19.0)
[2016-02-08 10:25:31.488286] mirserver: Selected input driver: mir:evdev-input (version: 0.20.0)
/home/alan/
Value of: platforms
Expected: has 2 elements and there exists some permutation of elements such that:
- element #0 is a or derived from a N3mir5input5evd
- element #1 is a or derived from a N3mir5input1X14
Actual: { 24-byte object <F0-8F 46-04 00-00 00-00 E0-8F 46-04 00-00 00-00 00-D4 43-04 00-00 00-00>, 24-byte object <60-94 46-04 00-00 00-00 50-94 46-04 00-00 00-00 80-DA 43-04 00-00 00-00>, 24-byte object <A0-D5 43-04 00-00 00-00 90-D5 43-04 00-00 00-00 50-DA 45-04 00-00 00-00> }, which has 3 elements
[ FAILED ] InputPlatformPr
[ RUN ] InputPlatformPr
[2016-02-08 10:25:31.524523] mirserver: Selected input driver: mir:evdev-input (version: 0.20.0)
[ OK ] InputPlatformPr
[ RUN ] InputPlatformPr
[2016-02-08 10:25:31.530326] mirserver: Selected input driver: mir:stub-input (version: 0.20.0)
[ OK ] InputPlatformPr
[----------] 4 tests from InputPlatformProbe (117 ms total)
[----------] Global test environment tear-down obe.x11_ platform_ found_and_ used_when_ display_ connection_ works
[==========] 4 tests from 1 test case ran. (118 ms total)
[ PASSED ] 3 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] InputPlatformPr
1 FAILED TEST