Merge lp:~kdub/mir/fix-1342029 into lp:mir
Status: | Merged |
---|---|
Approved by: | Kevin DuBois |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1802 |
Proposed branch: | lp:~kdub/mir/fix-1342029 |
Merge into: | lp:mir |
Diff against target: |
417 lines (+106/-42) 20 files modified
include/test/mir_test_framework/executable_path.h (+28/-0) include/test/mir_test_framework/udev_environment.h (+0/-3) src/server/input/xcursor_loader.cpp (+2/-1) tests/mir_test_framework/CMakeLists.txt (+6/-0) tests/mir_test_framework/executable_path.cpp (+40/-0) tests/mir_test_framework/udev_environment.cpp (+3/-19) tests/unit-tests/CMakeLists.txt (+0/-1) tests/unit-tests/android_input/test_eventhub.cpp (+3/-3) tests/unit-tests/graphics/mesa/test_buffer_allocator.cpp (+1/-1) tests/unit-tests/graphics/mesa/test_display.cpp (+1/-1) tests/unit-tests/graphics/mesa/test_display_buffer.cpp (+1/-1) tests/unit-tests/graphics/mesa/test_display_configuration.cpp (+1/-1) tests/unit-tests/graphics/mesa/test_display_multi_monitor.cpp (+1/-1) tests/unit-tests/graphics/mesa/test_drm_helper.cpp (+1/-1) tests/unit-tests/graphics/mesa/test_gbm_buffer.cpp (+1/-1) tests/unit-tests/graphics/mesa/test_platform.cpp (+1/-1) tests/unit-tests/graphics/test_display.cpp (+1/-1) tests/unit-tests/graphics/test_graphics_platform.cpp (+1/-1) tests/unit-tests/input/test_xcursor_loader.cpp (+13/-4) tests/unit-tests/test_udev_wrapper.cpp (+1/-1) |
To merge this branch: | bzr merge lp:~kdub/mir/fix-1342029 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Alan Griffiths | Approve | ||
Alexandros Frantzis (community) | Approve | ||
Review via email:
|
Commit message
correct the xcursor loader test to fail instead of segfault if it cannot find the cursor images it is looking for. Modify the test to find the cursor images from the directory the test is ran from (much like umockdev recordings) Change the scripts to install the cursor images to the proper directories when cross compiling.
fixes: lp: #1342029
Description of the change
correct the xcursor loader test to fail instead of segfault if it cannot find the cursor images it is looking for. Modify the test to find the cursor images from the directory the test is ran from (much like umockdev recordings) Change the scripts to install the cursor images to the proper directories when cross compiling.
previously, the cursor images where expected to be in a hardcoded directory based on where the code was compiled (eg, /home/kdub/
Now if the image cannot be found, the test will fail instead of segfault.
fixes: lp: #1342029
PASSED: Continuous integration, rev:1798 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- ci/2247/ jenkins. qa.ubuntu. com/job/ mir-android- utopic- i386-build/ 1110 jenkins. qa.ubuntu. com/job/ mir-clang- utopic- amd64-build/ 1116 jenkins. qa.ubuntu. com/job/ mir-mediumtests -utopic- touch/1101 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- amd64-ci/ 769 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- amd64-ci/ 769/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- armhf-ci/ 770 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- armhf-ci/ 770/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- utopic- armhf/36 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- utopic- armhf/36/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/2224 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 10525
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- team-mir- development- branch- ci/2247/ rebuild
http://