Merge lp:~dandrader/unity8/fixDragHandleTest into lp:unity8
| Status: | Merged |
|---|---|
| Approved by: | Albert Astals Cid on 2015-12-17 |
| Approved revision: | 2101 |
| Merged at revision: | 2123 |
| Proposed branch: | lp:~dandrader/unity8/fixDragHandleTest |
| Merge into: | lp:unity8 |
| Diff against target: |
127 lines (+51/-9) 4 files modified
plugins/Ubuntu/Gestures/DirectionalDragArea.cpp (+8/-2) tests/qmltests/Components/CMakeLists.txt (+1/-1) tests/qmltests/Components/tst_DragHandle.qml (+6/-6) tests/qmltests/Components/tst_DragHandle/SimpleButton.qml (+36/-0) |
| To merge this branch: | bzr merge lp:~dandrader/unity8/fixDragHandleTest |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Albert Astals Cid (community) | 2015-12-16 | Approve on 2015-12-17 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-12-16 | |
|
Review via email:
|
|||
Commit Message
Make DragHandle tests run again.
- "make tryDragHandle" was missing import paths
- "make testDragHandle" was crashing because of some uitk::Button style issue during
initialization. So I decided to move entirely away from this extra complexity.
Description of the Change
* Are there any related MPs required for this MP to build/function as expected? Please list.
No
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* Did you make sure that your branch does not contain spurious tags?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
Not applicable
* If you changed the UI, has there been a design review?
Not applicable
| Albert Astals Cid (aacid) wrote : | # |
I think it'd be a good idea to fix xvfbtestDragHandle too, I did that here locally by adding
if (pixelsPerMm <= 0)
pixelsPerMm = 6;
in DirectionalDrag
What do you think?
| Daniel d'Andrada (dandrader) wrote : | # |
On 16/12/2015 14:46, Albert Astals Cid wrote:
> Review: Needs Information
>
> I think it'd be a good idea to fix xvfbtestDragHandle too, I did that here locally by adding
>
> if (pixelsPerMm <= 0)
> pixelsPerMm = 6;
>
> in DirectionalDrag
>
> What do you think?
I think it's a good solution. Done. Thanks for investigating that crash.
- 2101. By Daniel d'Andrada on 2015-12-16
-
Fix crash in "make xvfbtestDragHandle"
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2101
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Albert Astals Cid (aacid) wrote : | # |
Not ideal to bypass the SDK crashes but oh well...
* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes
* Did CI run pass?
yes, except broken known tests
* Did you make sure that the branch does not contain spurious tags?
Yes

FAILED: Continuous integration, rev:2100 jenkins. qa.ubuntu. com/job/ unity8- ci/6965/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 5817/console jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- xenial- touch/380/ console jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- vivid/1676 jenkins. qa.ubuntu. com/job/ unity8- qmluitest- xenial- amd64/379 jenkins. qa.ubuntu. com/job/ unity8- vivid-amd64- ci/1571 jenkins. qa.ubuntu. com/job/ unity8- vivid-i386- ci/1571 jenkins. qa.ubuntu. com/job/ unity8- xenial- amd64-ci/ 378 jenkins. qa.ubuntu. com/job/ unity8- xenial- i386-ci/ 377 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-touch/ 4495/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 5830 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 5830/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 26118 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- xenial- touch/145/ console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- xenial- armhf/379 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- xenial- armhf/379/ artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 26119
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/6965/ rebuild
http://