Merge lp:~aacid/unity8/card_test_precision into lp:unity8
| Status: | Merged |
|---|---|
| Approved by: | Lukáš Tinkl on 2016-01-13 |
| Approved revision: | 2114 |
| Merged at revision: | 2146 |
| Proposed branch: | lp:~aacid/unity8/card_test_precision |
| Merge into: | lp:unity8 |
| Diff against target: |
25 lines (+3/-5) 1 file modified
tests/qmltests/Dash/tst_Card.qml (+3/-5) |
| To merge this branch: | bzr merge lp:~aacid/unity8/card_test_precision |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Lukáš Tinkl (community) | 2016-01-13 | Approve on 2016-01-13 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2016-01-13 | |
| Unity8 CI Bot | continuous-integration | Pending | |
|
Review via email:
|
|||
Commit Message
Card test: Limit the precision we ask for doubles to be equal
The test that dividies by 0.7 was failing on i386 because
Actual (): 434.2858326192127
Expected (): 434.28571428571433
we don't need that much precision on pixels, so limit that test to 2 decimals, which is more than enough really
Description of the Change
* Are there any related MPs required for this MP to build/function as expected?
No
* Did you perform an exploratory manual test run of your code change and any related functionality?
N/A
* 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?
N/A
* If you changed the UI, has there been a design review?
N/A
| Lukáš Tinkl (lukas-kde) wrote : | # |
LGTM, fixes the test here locally
* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes
* Did CI run pass? If not, please explain why.
No regressions
* Did you make sure that the branch does not contain spurious tags?
Yes

FAILED: Continuous integration, rev:2114 jenkins. qa.ubuntu. com/job/ unity8- ci/7052/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 6004 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- xenial- touch/467/ console jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- vivid/1757 jenkins. qa.ubuntu. com/job/ unity8- qmluitest- xenial- amd64/460 jenkins. qa.ubuntu. com/job/ unity8- vivid-amd64- ci/1652 jenkins. qa.ubuntu. com/job/ unity8- vivid-i386- ci/1652 jenkins. qa.ubuntu. com/job/ unity8- xenial- amd64-ci/ 459 jenkins. qa.ubuntu. com/job/ unity8- xenial- i386-ci/ 458 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-touch/ 4639 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 6015 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 6015/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 26601 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- xenial- touch/215/ console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- xenial- armhf/465 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- xenial- armhf/465/ artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 26602
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: 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/7052/ rebuild
http://