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

Proposed by Yolanda Robla
Status: Merged
Merged at revision: 158
Proposed branch: lp:~yolanda.robla/neutron/havana
Merge into: lp:~openstack-ubuntu-testing/neutron/havana
Diff against target: 90 lines (+42/-1)
6 files modified
debian/changelog (+5/-1)
debian/control (+1/-0)
debian/tests/control (+4/-0)
debian/tests/python-quantum (+14/-0)
debian/tests/quantum-daemons (+14/-0)
debian/tests/test_import_quantum.py (+4/-0)
To merge this branch: bzr merge lp:~yolanda.robla/neutron/havana
Reviewer Review Type Date Requested Status
James Page Approve
Chuck Short (community) Needs Fixing
Review via email: mp+167230@code.launchpad.net

Description of the change

Added autopkgtests

To post a comment you must log in.
Revision history for this message
Chuck Short (zulcss) wrote :

needs to be UNRELEASED in the debian/changelog

review: Needs Fixing
lp:~yolanda.robla/neutron/havana updated
158. By Yolanda Robla

Modified to UNRELEASED

Revision history for this message
Yolanda Robla (yolanda.robla) wrote :

recheck

Revision history for this message
Chuck Short (zulcss) wrote :

merge conflict

review: Needs Fixing
lp:~yolanda.robla/neutron/havana updated
159. By Yolanda Robla

* debian/control:
  - Add version requirement to python-stevedore (>= 0.8), also add to
    python-quantum depends.
  - Add version requirement to python-fixtures (>= 0.3.12).

Revision history for this message
Chuck Short (zulcss) wrote :

Please collapse the changelog into the previous UNRELEASED branch

review: Needs Fixing
Revision history for this message
Chuck Short (zulcss) :
review: Needs Fixing
lp:~yolanda.robla/neutron/havana updated
160. By Yolanda Robla

[ Yolanda Robla ]
debian/tests: added autopkg tests

Revision history for this message
James Page (james-page) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2013-06-04 19:00:19 +0000
+++ debian/changelog 2013-06-07 16:23:28 +0000
@@ -1,12 +1,16 @@
1quantum (1:2013.2~b1-0ubuntu1) UNRELEASED; urgency=low1quantum (1:2013.2~b1-0ubuntu1) UNRELEASED; urgency=low
22
3 [ Adam Gandelman ]
3 * debian/control:4 * debian/control:
4 - Add version requirement to python-stevedore (>= 0.8), also add to5 - Add version requirement to python-stevedore (>= 0.8), also add to
5 python-quantum depends.6 python-quantum depends.
6 - Add version requirement to python-fixtures (>= 0.3.12).7 - Add version requirement to python-fixtures (>= 0.3.12).
7 * debian/patches/*: Refreshed.8 * debian/patches/*: Refreshed.
89
9 -- Adam Gandelman <adamg@ubuntu.com> Wed, 29 May 2013 11:54:06 -070010 [ Yolanda Robla ]
11 * debian/tests: added autopkg tests
12
13 -- Yolanda Robla <yolanda.robla@canonical.com> Tue, 04 Jun 2013 12:16:29 +0200
1014
11quantum (1:2013.2~b1-0ubuntu1) saucy; urgency=low15quantum (1:2013.2~b1-0ubuntu1) saucy; urgency=low
1216
1317
=== modified file 'debian/control'
--- debian/control 2013-06-04 19:00:19 +0000
+++ debian/control 2013-06-07 16:23:28 +0000
@@ -45,6 +45,7 @@
45 testrepository ( >= 0.0.8)45 testrepository ( >= 0.0.8)
46XS-Python-Version: >= 2.646XS-Python-Version: >= 2.6
47Standards-Version: 3.9.447Standards-Version: 3.9.4
48XS-Testsuite: autopkgtest
4849
49Package: quantum-server50Package: quantum-server
50Architecture: all51Architecture: all
5152
=== added directory 'debian/tests'
=== added file 'debian/tests/control'
--- debian/tests/control 1970-01-01 00:00:00 +0000
+++ debian/tests/control 2013-06-07 16:23:28 +0000
@@ -0,0 +1,4 @@
1Tests: quantum-daemons python-quantum
2Depends: quantum-server, quantum-l3-agent, quantum-dhcp-agent, quantum-metadata-agent,
3 quantum-lbaas-agent, python-quantum
4Restrictions: needs-root
05
=== added file 'debian/tests/python-quantum'
--- debian/tests/python-quantum 1970-01-01 00:00:00 +0000
+++ debian/tests/python-quantum 2013-06-07 16:23:28 +0000
@@ -0,0 +1,14 @@
1#!/bin/bash
2#-------------------------
3# Testing client utilities
4#-------------------------
5set -e
6
7result=$(python `dirname $0`/test_import_quantum.py 2>&1)
8if [ "$result" ]; then
9 echo "ERROR: PYTHON-QUANTUM MODULE CANNOT BE IMPORTED"
10 exit 1
11else
12 echo "OK"
13 exit 0
14fi
015
=== added file 'debian/tests/quantum-daemons'
--- debian/tests/quantum-daemons 1970-01-01 00:00:00 +0000
+++ debian/tests/quantum-daemons 2013-06-07 16:23:28 +0000
@@ -0,0 +1,14 @@
1#!/bin/bash
2#-----------------------
3# Testing quantum-daemon
4#-----------------------
5set -e
6DAEMONS=('quantum-server' 'quantum-l3-agent' 'quantum-dhcp-agent' 'quantum-metadata-agent' 'quantum-lbaas-agent')
7for daemon in "${DAEMONS[@]}"; do
8 if pidof -x $daemon > /dev/null; then
9 echo "OK"
10 else
11 echo "ERROR: ${daemon} IS NOT RUNNING"
12 exit 1
13 fi
14done
015
=== added file 'debian/tests/test_import_quantum.py'
--- debian/tests/test_import_quantum.py 1970-01-01 00:00:00 +0000
+++ debian/tests/test_import_quantum.py 2013-06-07 16:23:28 +0000
@@ -0,0 +1,4 @@
1try:
2 import quantum
3except ImportError, e:
4 print "ERROR IMPORTING MODULE"

Subscribers

People subscribed via source and target branches