qtmir fails a test against Qt 5.4.1

Bug #1427529 reported by Timo Jyrinki on 2015-03-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtmir (Ubuntu)
High
Albert Astals Cid

Bug Description

Interestingly one test fails in qtmir when built against Qt 5.4.1 - does it rely on some sort of bug that got fixed?

Some changelogs:
- https://qt.gitorious.org/qt/qtbase/source/69196b38c481610ef30bfe8ce8e7ba6826729ab8:dist/changes-5.4.1
- https://qt.gitorious.org/qt/qtsensors/source/2abe02fb8dd6b33eb5f891789217bf9de283331e:dist/changes-5.4.1

^ dummy plug-in no longer built on Linux, "generic" to be used?

Build logs:

https://launchpadlibrarian.net/199221051/buildlog_ubuntu-vivid-amd64.qtmir_0.4.4%2B15.04.20150227.1-0ubuntu2~test1_BUILDING.txt.gz
https://launchpadlibrarian.net/199222274/buildlog_ubuntu-vivid-armhf.qtmir_0.4.4%2B15.04.20150227.1-0ubuntu2~test1_BUILDING.txt.gz

---
 3/11 Test #3: Screen, ..........................***Failed 0.13 sec
Running main() from gtest_main.cc
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ScreenTest
[ RUN ] ScreenTest.OrientationSensor
/build/buildd/qtmir-0.4.4+15.04.20150227.1/tests/mirserver/Screen/screen_test.cpp:58: Failure
Value of: screen->orientationSensorEnabled()
  Actual: false
Expected: true
[ FAILED ] ScreenTest.OrientationSensor (5 ms)
[----------] 1 test from ScreenTest (5 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (6 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] ScreenTest.OrientationSensor

 1 FAILED TEST
qtmir.sensor: Screen - nativeOrientation is: 1
qtmir.sensor: Screen - initial currentOrientation is: 1
---

See information about Qt 5.4.1 landing at https://wiki.ubuntu.com/Touch/QtTesting - usable already from the landing PPA.

All Qt 5.4.1 bugs https://bugs.launchpad.net/bugs/+bugs?field.tag=qt5.4

Related branches

description: updated
description: updated
Timo Jyrinki (timo-jyrinki) wrote :

Orientation seems to work fine on the phone, so this might be something that only affects builder machines and maybe would need some mocking?

description: updated
Michał Sawicz (saviq) on 2015-03-03
Changed in qtmir (Ubuntu):
status: New → Triaged
importance: Undecided → High
description: updated
Changed in qtmir (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Albert Astals Cid (aacid)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtmir - 0.4.4+15.04.20150317-0ubuntu1

---------------
qtmir (0.4.4+15.04.20150317-0ubuntu1) vivid; urgency=medium

  [ Albert Astals Cid ]
  * Make the test pass with Qt >= 5.4.1 (LP: #1427529)
 -- CI Train Bot <email address hidden> Tue, 17 Mar 2015 18:01:53 +0000

Changed in qtmir (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers