Merge lp:~yolanda.robla/python-ceilometerclient/havana into lp:~openstack-ubuntu-testing/python-ceilometerclient/havana

Proposed by Yolanda Robla
Status: Merged
Approved by: Chuck Short
Approved revision: 10
Merged at revision: 10
Proposed branch: lp:~yolanda.robla/python-ceilometerclient/havana
Merge into: lp:~openstack-ubuntu-testing/python-ceilometerclient/havana
Diff against target: 61 lines (+22/-1)
4 files modified
debian/changelog (+5/-1)
debian/control (+1/-0)
debian/tests/client (+14/-0)
debian/tests/control (+2/-0)
To merge this branch: bzr merge lp:~yolanda.robla/python-ceilometerclient/havana
Reviewer Review Type Date Requested Status
Openstack Ubuntu Testers Pending
Review via email: mp+168413@code.launchpad.net

Description of the change

Added autopkg tests

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-05-28 00:12:26 +0000
3+++ debian/changelog 2013-06-10 11:23:25 +0000
4@@ -1,5 +1,6 @@
5 python-ceilometerclient (1.0.0.33.gf9af1f3-0ubuntu1) UNRELEASED; urgency=low
6
7+ [ Chuck Short ]
8 * New upstream release.
9 * debian/control:
10 - Dropped python-unittest2, python-nose.
11@@ -10,7 +11,10 @@
12 - Dropped pep8.
13 * debian/rules: Convert testsuite to use testr.
14
15- -- Chuck Short <zulcss@ubuntu.com> Wed, 15 May 2013 09:24:24 -0500
16+ [ Yolanda Robla ]
17+ * debian/tests: added autopkg tests
18+
19+ -- Yolanda Robla <yolanda.robla@canonical.com> Mon, 10 Jun 2013 13:16:00 +0200
20
21 python-ceilometerclient (1.0.0-0ubuntu1) raring; urgency=low
22
23
24=== modified file 'debian/control'
25--- debian/control 2013-05-28 00:12:26 +0000
26+++ debian/control 2013-06-10 11:23:25 +0000
27@@ -21,6 +21,7 @@
28 python-testtools
29 Standards-Version: 3.9.4
30 Homepage: http://launchpad.net/ceilometer
31+XS-Testsuite: autopkgtest
32
33 Package: python-ceilometerclient
34 Architecture: all
35
36=== added directory 'debian/tests'
37=== added file 'debian/tests/client'
38--- debian/tests/client 1970-01-01 00:00:00 +0000
39+++ debian/tests/client 2013-06-10 11:23:25 +0000
40@@ -0,0 +1,14 @@
41+#!/bin/bash
42+#-------------------------
43+# Testing client utilities
44+#-------------------------
45+set -e
46+
47+HELP_CLIENTS=('ceilometer')
48+for client in "${HELP_CLIENTS[@]}"; do
49+ RET=$($client -h 2>&1 > /dev/null)
50+
51+ if [[ $RET ]]; then
52+ echo "ERROR, ${client} is not running"
53+ fi
54+done
55
56=== added file 'debian/tests/control'
57--- debian/tests/control 1970-01-01 00:00:00 +0000
58+++ debian/tests/control 2013-06-10 11:23:25 +0000
59@@ -0,0 +1,2 @@
60+Tests: client
61+Depends: python-ceilometerclient

Subscribers

People subscribed via source and target branches