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
=== modified file 'debian/control'
--- debian/control 2017-03-31 02:26:14 +0000
+++ debian/control 2017-03-31 02:26:15 +0000
@@ -51,3 +51,15 @@
51 .51 .
52 This package contains the Autopilots integration tests for the Unity System52 This package contains the Autopilots integration tests for the Unity System
53 Compositor.53 Compositor.
54
55Package: unity-system-compositor-tests
56Architecture: any
57Depends: unity-system-compositor (>= ${source:Version}),
58 ${misc:Depends},
59 ${shlibs:Depends},
60Description: Mir System Compositor unit tests
61 This is the system compositor using the Mir display server.
62 .
63 General tests for Unity System Compositor targeted at autopkgtest runs when a
64 dependency has changed.
65
5466
=== added directory 'debian/tests'
=== added file 'debian/tests/control'
--- debian/tests/control 1970-01-01 00:00:00 +0000
+++ debian/tests/control 2017-03-31 02:26:15 +0000
@@ -0,0 +1,2 @@
1Tests: mir
2Depends: unity-system-compositor-tests
03
=== added file 'debian/tests/mir'
--- debian/tests/mir 1970-01-01 00:00:00 +0000
+++ debian/tests/mir 2017-03-31 02:26:15 +0000
@@ -0,0 +1,3 @@
1#!/bin/sh -e
2/usr/bin/usc_integration_tests
3exit 0
04
=== added file 'debian/unity-system-compositor-tests.install'
--- debian/unity-system-compositor-tests.install 1970-01-01 00:00:00 +0000
+++ debian/unity-system-compositor-tests.install 2017-03-31 02:26:15 +0000
@@ -0,0 +1,2 @@
1usr/bin/usc_integration_tests
2usr/bin/usc_test_helper_wait_for_signal
03
=== modified file 'tests/integration-tests/CMakeLists.txt'
--- tests/integration-tests/CMakeLists.txt 2016-04-18 14:58:36 +0000
+++ tests/integration-tests/CMakeLists.txt 2017-03-31 02:26:15 +0000
@@ -57,3 +57,6 @@
5757
58add_dependencies(usc_integration_tests GMock)58add_dependencies(usc_integration_tests GMock)
59add_dependencies(usc_integration_tests usc_test_helper_wait_for_signal)59add_dependencies(usc_integration_tests usc_test_helper_wait_for_signal)
60
61install(TARGETS usc_integration_tests usc_test_helper_wait_for_signal
62 RUNTIME DESTINATION bin)

Subscribers

People subscribed via source and target branches