Merge lp:~dobey/u1db/add-autopkgtest into lp:u1db/packaging-dailies

Proposed by dobey
Status: Merged
Approved by: dobey
Approved revision: 20
Merged at revision: 19
Proposed branch: lp:~dobey/u1db/add-autopkgtest
Merge into: lp:u1db/packaging-dailies
Diff against target: 51 lines (+28/-1)
3 files modified
control (+2/-1)
tests/control (+20/-0)
tests/run-tests (+6/-0)
To merge this branch: bzr merge lp:~dobey/u1db/add-autopkgtest
Reviewer Review Type Date Requested Status
Mike McCracken (community) Approve
Review via email: mp+178153@code.launchpad.net

Commit message

Add autopkgtest config.

Description of the change

This also adds a run-tests test script inside the tests/ directory, as we can't just simply use the source root as the tests directory and run a script there, since we need to have cmake run and the library and everything built as well.

To post a comment you must log in.
Revision history for this message
Mike McCracken (mikemc) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'control'
2--- control 2012-10-18 14:21:12 +0000
3+++ control 2013-08-01 19:24:49 +0000
4@@ -21,8 +21,9 @@
5 python-testscenarios,
6 python-testtools
7 Maintainer: Ubuntu One Developers <ubuntuone-users@lists.launchpad.net>
8-Standards-Version: 3.9.3
9+Standards-Version: 3.9.4
10 X-Python-Version: >= 2.6
11+XS-Testsuite: autopkgtest
12
13 Package: python-u1db
14 Section: python
15
16=== added directory 'tests'
17=== added file 'tests/control'
18--- tests/control 1970-01-01 00:00:00 +0000
19+++ tests/control 2013-08-01 19:24:49 +0000
20@@ -0,0 +1,20 @@
21+Tests: run-tests
22+Restrictions: rw-build-tree build-needed allow-stderr
23+Depends: @,
24+ cmake,
25+ cython,
26+ libcurl4-nss-dev | libcurl4-gnutls-dev | libcurl4-openssl-dev,
27+ libjson0-dev,
28+ liboauth-dev,
29+ libsqlite3-dev,
30+ python-all (>= 2.6.6-3),
31+ python-all-dev (>= 2.6),
32+ python-dirspec,
33+ python-oauth,
34+ python-openssl,
35+ python-paste,
36+ python-routes,
37+ python-setuptools,
38+ python-simplejson,
39+ python-testscenarios,
40+ python-testtools
41
42=== added file 'tests/run-tests'
43--- tests/run-tests 1970-01-01 00:00:00 +0000
44+++ tests/run-tests 2013-08-01 19:24:49 +0000
45@@ -0,0 +1,6 @@
46+#!/bin/sh
47+
48+set -ex
49+
50+make check-nodoctests
51+

Subscribers

People subscribed via source and target branches

to all changes: