~ci-train-bot/qtmir/qtmir-ubuntu-zesty-2668

« back to all changes in this revision

Viewing changes to debian/control

  • Committer: Bileto Bot
  • Author(s): Gerry Boland
  • Date: 2017-03-20 21:15:29 UTC
  • mfrom: (617.2.3 allow-valgrind1)
  • Revision ID: ci-train-bot@canonical.com-20170320211529-zrbpo2l1bwmdcx5m
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.

Approved by: Daniel d'Andrada, Unity8 CI Bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
               qtdeclarative5-dev,
41
41
               qtdeclarative5-private-dev,
42
42
               quilt,
 
43
               valgrind,
43
44
# libmirserver-dev should have brought this dep. Bug lp:1617435
44
45
               uuid-dev,
45
46
# mirtest pkgconfig requires these, but doesn't have a deb dependency. Bug lp:1633537