qt-jenkins-integrator: extend test, fix minor bugs uncovered by test
authorRohan McGovern <rohan.mcgovern@nokia.com>
Mon, 15 Oct 2012 01:21:44 +0000 (11:21 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 18 Oct 2012 21:41:52 +0000 (23:41 +0200)
commit74eee570b7a14f71be7561bdcd5e1947b15a83bb
treebdb3b2b529253ba15e77955f3adaed5e79dc3749
parentccf221e683322aba1546f4cd3befa530f3b5449c
qt-jenkins-integrator: extend test, fix minor bugs uncovered by test

The autotest is extended to cover all CI system states.

All possible state transitions are tested, but a few side-effects of
states aren't thoroughly tested; these are marked as TODO.

qt-jenkins-integrator.pl received a couple of trivial bug fixes and had
a few things made configurable/mockable for better testability.

Change-Id: Ia8469c8679678c4752c25c92d7e1340bf1ddcd60
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
scripts/jenkins/qt-jenkins-integrator.pl
scripts/jenkins/t/05-qt-jenkins-integrator.t