Merge lp:~gerboland/qtmir/allow-valgrind into lp:qtmir
Proposed by
Gerry Boland
Status: | Merged |
---|---|
Approved by: | Lukáš Tinkl |
Approved revision: | 620 |
Merged at revision: | 623 |
Proposed branch: | lp:~gerboland/qtmir/allow-valgrind |
Merge into: | lp:qtmir |
Diff against target: |
84 lines (+14/-2) 5 files modified
CMakeLists.txt (+1/-0) debian/control (+1/-0) src/platforms/mirserver/CMakeLists.txt (+2/-0) src/platforms/mirserver/qmirserver.cpp (+5/-1) src/platforms/mirserver/qmirserver_p.cpp (+5/-1) |
To merge this branch: | bzr merge lp:~gerboland/qtmir/allow-valgrind |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Unity8 CI Bot (community) | continuous-integration | Approve | |
Daniel d'Andrada (community) | Approve | ||
Albert Astals Cid (community) | Needs Fixing | ||
Review via email: mp+318470@code.launchpad.net |
Commit message
Extend timeouts when running under valgrind
When QMirServer is starting up, it spawns a separate thread for Mir to startup and waits for it. As valgrind slows execution greatly, the QMirServer timeout triggers before Mir has started, causing the QMirServer to think it failed and exit.
This patch adds ability to detect when running under valgrind and extending timeouts to suit.
To post a comment you must log in.
PASSED: Continuous integration, rev:610 /unity8- jenkins. ubuntu. com/job/ lp-qtmir- ci/528/ /unity8- jenkins. ubuntu. com/job/ build/4232 /unity8- jenkins. ubuntu. com/job/ build-0- fetch/4260 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 4095 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 4095/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= zesty/4095 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= zesty/4095/ artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 4095 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 4095/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= zesty/4095 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= zesty/4095/ artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 4095 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 4095/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= zesty/4095 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= zesty/4095/ artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-qtmir- ci/528/ rebuild
https:/