Merge lp:~bregma/unity-system-compositor/add-autopkgtest into lp:unity-system-compositor

Proposed by Stephen M. Webb
Status: Merged
Approved by: Stephen M. Webb
Approved revision: 263
Merged at revision: 313
Proposed branch: lp:~bregma/unity-system-compositor/add-autopkgtest
Merge into: lp:unity-system-compositor
Prerequisite: lp:~bregma/unity-system-compositor/lp-1677734
Diff against target: 53 lines (+22/-0)
5 files modified
debian/control (+12/-0)
debian/tests/control (+2/-0)
debian/tests/mir (+3/-0)
debian/unity-system-compositor-tests.install (+2/-0)
tests/integration-tests/CMakeLists.txt (+3/-0)
To merge this branch: bzr merge lp:~bregma/unity-system-compositor/add-autopkgtest
Reviewer Review Type Date Requested Status
Mir CI Bot continuous-integration Approve
Brandon Schaefer (community) Approve
Cemil Azizoglu Pending
PS Jenkins bot continuous-integration Pending
Kevin DuBois Pending
Alan Griffiths Pending
Chris Halse Rogers Pending
Review via email: mp+321506@code.launchpad.net

This proposal supersedes a proposal from 2015-10-21.

Commit message

added autopkgtest (DEP-8) support and some tests

Description of the change

Added autopkgtest support. Added some tests.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
Chris Halse Rogers (raof) wrote : Posted in a previous version of this proposal

Almost all of this diff is redundant? Could you please drop all the changes removing the trailing commas from the debian/control lists? Having the trailing commas makes diffs more readable, as all the changed lines are significant.

Other than that, LGTM.

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
Kevin DuBois (kdub) wrote : Posted in a previous version of this proposal

looks okay to me, although not sure why some of the dependency orderings have changed in control.

review: Approve
Revision history for this message
Alan Griffiths (alan-griffiths) wrote : Posted in a previous version of this proposal

There are unrelated changes in debian/control - are they there for a reason?

review: Needs Information
Revision history for this message
Stephen M. Webb (bregma) wrote : Posted in a previous version of this proposal

The unrelated changes in debian/control are due to running wrap-and-sort on it like a good little Debian packager. It gets hard to remember which packages are good citizens and which are contemptuous of best practices, so I just always run it.

If it really causes a problem, I can revert that change.

Revision history for this message
Brandon Schaefer (brandontschaefer) wrote : Posted in a previous version of this proposal

Yay for tests

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Mir CI Bot (mir-ci-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Alan Griffiths (alan-griffiths) wrote : Posted in a previous version of this proposal

Text conflict in debian/control
1 conflicts encountered.

review: Needs Fixing
Revision history for this message
Mir CI Bot (mir-ci-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Mir CI Bot (mir-ci-bot) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
Cemil Azizoglu (cemil-azizoglu) wrote : Posted in a previous version of this proposal

I'm assuming this is unintentional.
8 + libmirclient-dev (>= 0.13.0),
9 + libmirserver-dev (>= 0.13.0),
10 libglm-dev,
11 - libmirclient-dev (>= 0.19.0),
12 - libmirserver-dev (>= 0.19.0),

review: Needs Fixing
Revision history for this message
Mir CI Bot (mir-ci-bot) wrote :

PASSED: Continuous integration, rev:263
https://mir-jenkins.ubuntu.com/job/usc-ci/62/
Executed test runs:
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-usc/85
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-0-fetch/4529
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-1-sourcepkg/release=vivid+overlay/4519
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-1-sourcepkg/release=xenial+overlay/4519
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-1-sourcepkg/release=zesty/4519
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-usc/arch=amd64,release=xenial+overlay/89
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-usc/arch=amd64,release=xenial+overlay/89/artifact/output/*zip*/output.zip
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-usc/arch=amd64,release=zesty/89
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-usc/arch=amd64,release=zesty/89/artifact/output/*zip*/output.zip
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-usc/arch=armhf,release=vivid+overlay/89
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-usc/arch=armhf,release=vivid+overlay/89/artifact/output/*zip*/output.zip
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-usc/arch=i386,release=xenial+overlay/89
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-usc/arch=i386,release=xenial+overlay/89/artifact/output/*zip*/output.zip
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-usc/arch=i386,release=zesty/89
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-usc/arch=i386,release=zesty/89/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://mir-jenkins.ubuntu.com/job/usc-ci/62/rebuild

review: Approve (continuous-integration)
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

Still a good idea imo

review: Approve
Revision history for this message
Mir CI Bot (mir-ci-bot) :
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 2017-03-31 02:26:14 +0000
3+++ debian/control 2017-03-31 02:26:15 +0000
4@@ -51,3 +51,15 @@
5 .
6 This package contains the Autopilots integration tests for the Unity System
7 Compositor.
8+
9+Package: unity-system-compositor-tests
10+Architecture: any
11+Depends: unity-system-compositor (>= ${source:Version}),
12+ ${misc:Depends},
13+ ${shlibs:Depends},
14+Description: Mir System Compositor unit tests
15+ This is the system compositor using the Mir display server.
16+ .
17+ General tests for Unity System Compositor targeted at autopkgtest runs when a
18+ dependency has changed.
19+
20
21=== added directory 'debian/tests'
22=== added file 'debian/tests/control'
23--- debian/tests/control 1970-01-01 00:00:00 +0000
24+++ debian/tests/control 2017-03-31 02:26:15 +0000
25@@ -0,0 +1,2 @@
26+Tests: mir
27+Depends: unity-system-compositor-tests
28
29=== added file 'debian/tests/mir'
30--- debian/tests/mir 1970-01-01 00:00:00 +0000
31+++ debian/tests/mir 2017-03-31 02:26:15 +0000
32@@ -0,0 +1,3 @@
33+#!/bin/sh -e
34+/usr/bin/usc_integration_tests
35+exit 0
36
37=== added file 'debian/unity-system-compositor-tests.install'
38--- debian/unity-system-compositor-tests.install 1970-01-01 00:00:00 +0000
39+++ debian/unity-system-compositor-tests.install 2017-03-31 02:26:15 +0000
40@@ -0,0 +1,2 @@
41+usr/bin/usc_integration_tests
42+usr/bin/usc_test_helper_wait_for_signal
43
44=== modified file 'tests/integration-tests/CMakeLists.txt'
45--- tests/integration-tests/CMakeLists.txt 2016-04-18 14:58:36 +0000
46+++ tests/integration-tests/CMakeLists.txt 2017-03-31 02:26:15 +0000
47@@ -57,3 +57,6 @@
48
49 add_dependencies(usc_integration_tests GMock)
50 add_dependencies(usc_integration_tests usc_test_helper_wait_for_signal)
51+
52+install(TARGETS usc_integration_tests usc_test_helper_wait_for_signal
53+ RUNTIME DESTINATION bin)

Subscribers

People subscribed via source and target branches