Mir

Merge lp:~cemil-azizoglu/mir/fix-1517532 into lp:mir

Proposed by Cemil Azizoglu
Status: Merged
Merged at revision: 3116
Proposed branch: lp:~cemil-azizoglu/mir/fix-1517532
Merge into: lp:mir
Diff against target: 14 lines (+2/-0)
1 file modified
tests/unit-tests/graphics/test_platform_prober.cpp (+2/-0)
To merge this branch: bzr merge lp:~cemil-azizoglu/mir/fix-1517532
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Kevin DuBois (community) Approve
Alan Griffiths Approve
Review via email: mp+277932@code.launchpad.net

Commit message

Fix FTBS with -DMIR_PLATFORM=android

Description of the change

Fix FTBS with -DMIR_PLATFORM=android

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Failure looks like lp:1517781

6: [ RUN ] NestedServer.display_configuration_changes_are_forwarded_to_host
6: [1447911664.690674] mirserver: Starting
6: [1447911664.690755] mirserver: Selected driver: dummy (version 0.18.0)
6: [1447911664.693294] mirserver: Using software cursor
6: [1447911664.693586] mirserver: Mir version 0.18.0
6: [1447911664.706673] mirserver: Starting
6: [1447911664.706753] mirserver: Selected driver: dummy (version 0.18.0)
6: [1447911664.707535] mirserver: Using nested cursor
6: [1447911664.713905] mirserver: Initial display configuration:
6: [1447911664.713919] mirserver: 1.1: VGA 0.0" 0x0mm
6: [1447911664.713923] mirserver: Current mode 640x480 60.00Hz
6: [1447911664.713925] mirserver: Preferred mode 640x480 60.00Hz
6: [1447911664.713927] mirserver: Logical position +0+0
6: [1447911664.713930] mirserver: 1.2: VGA 0.0" 0x0mm
6: [1447911664.713932] mirserver: Current mode 1920x1080 60.00Hz
6: [1447911664.713933] mirserver: Preferred mode 1920x1080 60.00Hz
6: [1447911664.713935] mirserver: Logical position +480+0
6: [1447911664.714569] mirserver: Mir version 0.18.0
6: [1447911664.730551] mirserver: New display configuration:
6: [1447911664.730561] mirserver: 1.1: VGA 0.0" 0x0mm
6: [1447911664.730563] mirserver: Disabled
6: [1447911664.730565] mirserver: 1.2: VGA 0.0" 0x0mm
6: [1447911664.730568] mirserver: Current mode 1920x1080 60.00Hz
6: [1447911664.730570] mirserver: Preferred mode 1920x1080 60.00Hz
6: [1447911664.730571] mirserver: Logical position +480+0
6: [1447911664.739219] mirserver: New display configuration:
6: [1447911664.739230] mirserver: 1.1: VGA 0.0" 0x0mm
6: [1447911664.739233] mirserver: Current mode 640x480 60.00Hz
6: [1447911664.739235] mirserver: Preferred mode 640x480 60.00Hz
6: [1447911664.739236] mirserver: Logical position +0+0
6: [1447911664.739239] mirserver: 1.2: VGA 0.0" 0x0mm
6: [1447911664.739241] mirserver: Current mode 1920x1080 60.00Hz
6: [1447911664.739243] mirserver: Preferred mode 1920x1080 60.00Hz
6: [1447911664.739244] mirserver: Logical position +480+0
6: [1447911664.742782] mirserver: Stopping
6: terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::system_error> >'

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Kevin DuBois (kdub) wrote :

lgtm

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/unit-tests/graphics/test_platform_prober.cpp'
2--- tests/unit-tests/graphics/test_platform_prober.cpp 2015-11-10 15:25:52 +0000
3+++ tests/unit-tests/graphics/test_platform_prober.cpp 2015-11-19 05:02:20 +0000
4@@ -103,8 +103,10 @@
5
6 class ServerPlatformProbeMockDRM : public ::testing::Test
7 {
8+#if defined(MIR_BUILD_PLATFORM_MESA_KMS) || defined(MIR_BUILD_PLATFORM_MESA_X11)
9 public:
10 ::testing::NiceMock<mtd::MockDRM> mock_drm;
11+#endif
12 };
13
14 }

Subscribers

People subscribed via source and target branches