Merge lp:~canonical-platform-qa/ubuntu-ui-toolkit/upstart into lp:ubuntu-ui-toolkit/staging

Proposed by Leo Arias on 2015-05-15
Status: Merged
Approved by: Zoltan Balogh on 2015-05-20
Approved revision: 1505
Merged at revision: 1513
Proposed branch: lp:~canonical-platform-qa/ubuntu-ui-toolkit/upstart
Merge into: lp:ubuntu-ui-toolkit/staging
Diff against target: 11 lines (+1/-0)
1 file modified
debian/control (+1/-0)
To merge this branch: bzr merge lp:~canonical-platform-qa/ubuntu-ui-toolkit/upstart
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve on 2015-05-20
Ken VanDine Approve on 2015-05-20
Christian Dywan 2015-05-15 Approve on 2015-05-18
Review via email: mp+259262@code.launchpad.net

Commit Message

Make explicit the dependency on upstart for the autopilot helpers.

Description of the Change

Currently we have helpers to set environment variables with upstart.
A branch is in progress to support also systemd, and choose the right commands depending on the pid1 running [1]. In the meantime, this makes it explicit that we depend on upstart.

[1] https://code.launchpad.net/~canonical-platform-qa/ubuntu-ui-toolkit/systemd/+merge/259210

To post a comment you must log in.
Zoltan Balogh (bzoltan) wrote :

OK

Christian Dywan (kalikiana) wrote :

Seems like a sensible plan; this needs explicit testing, tho, as long as CI isn't running wily.

review: Approve
Leo Arias (elopio) wrote :

We currently have a suite of tests in test_fixture_setup that sets init environment variables, and launches an app. If upstart is not installed, that suite will fail, which is how we noticed this problem in wily. Thanks for the reviews.

Ken VanDine (ken-vandine) wrote :

I'll go ahead and give this a packaging ACK

review: Approve
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2015-04-14 21:02:06 +0000
3+++ debian/control 2015-05-15 15:40:19 +0000
4@@ -147,6 +147,7 @@
5 python3-autopilot-trace,
6 qttestability-autopilot,
7 ubuntu-ui-toolkit-examples (>= ${source:Version}),
8+ upstart,
9 qtdeclarative5-ubuntu-ui-toolkit-plugin (>= ${source:Version}) | qtdeclarative5-ubuntu-ui-toolkit-plugin-gles,
10 qml-module-qttest | qtdeclarative5-test-plugin,
11 Description: Test package for Ubuntu UI Toolkit

Subscribers

People subscribed via source and target branches