Merge lp:~mitya57/ubuntu/vivid/pygments/fix-autopkgtests into lp:ubuntu/vivid-proposed/pygments

Proposed by Dmitry Shachnev
Status: Merged
Merge reported by: Martin Pitt
Merged at revision: not available
Proposed branch: lp:~mitya57/ubuntu/vivid/pygments/fix-autopkgtests
Merge into: lp:ubuntu/vivid-proposed/pygments
Diff against target: 81 lines (+11/-26)
5 files modified
debian/changelog (+7/-0)
debian/patches/disable_example_files_test.patch (+0/-20)
debian/tests/control (+2/-2)
debian/tests/python-pygments (+1/-2)
debian/tests/python3-pygments (+1/-2)
To merge this branch: bzr merge lp:~mitya57/ubuntu/vivid/pygments/fix-autopkgtests
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Ubuntu Development Team Pending
Review via email: mp+240844@code.launchpad.net

Description of the change

Fixed the autopkgtests so that the package can migrate to -release.

Committed to Debian Svn, but did not upload because of freeze.

To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

Many thanks! Uploaded.

review: Approve

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 2014-10-19 23:00:26 +0000
3+++ debian/changelog 2014-11-06 12:37:53 +0000
4@@ -1,3 +1,10 @@
5+pygments (2.0~rc1.a2bc2bd+dfsg-1svn1) vivid; urgency=medium
6+
7+ * Drop disable_example_files_test.patch, no longer needed.
8+ * Enable verbose tests output.
9+
10+ -- Dmitry Shachnev <mitya57@ubuntu.com> Thu, 06 Nov 2014 14:49:27 +0300
11+
12 pygments (2.0~rc1.a2bc2bd+dfsg-1) unstable; urgency=medium
13
14 [ Jakub Wilk ]
15
16=== removed file 'debian/patches/disable_example_files_test.patch'
17--- debian/patches/disable_example_files_test.patch 2013-01-06 14:38:26 +0000
18+++ debian/patches/disable_example_files_test.patch 1970-01-01 00:00:00 +0000
19@@ -1,20 +0,0 @@
20-=== modified file 'tests/test_examplefiles.py'
21---- a/tests/test_examplefiles.py 2012-03-11 18:22:42 +0000
22-+++ b/tests/test_examplefiles.py 2012-11-12 07:18:38 +0000
23-@@ -8,6 +8,7 @@
24- """
25-
26- import os
27-+import nose
28- import pprint
29- import difflib
30- import cPickle as pickle
31-@@ -19,6 +20,7 @@
32- STORE_OUTPUT = False
33-
34- # generate methods
35-+@nose.SkipTest
36- def test_example_files():
37- testdir = os.path.dirname(__file__)
38- outdir = os.path.join(testdir, 'examplefiles', 'output')
39-
40
41=== modified file 'debian/tests/control'
42--- debian/tests/control 2014-10-19 23:00:26 +0000
43+++ debian/tests/control 2014-11-06 12:37:53 +0000
44@@ -1,5 +1,5 @@
45 Tests: python-pygments
46-Depends: patch, python-all, python-pygments, python-nose
47+Depends: python-all, python-pygments, python-nose
48
49 Tests: python3-pygments
50-Depends: patch, python3-all, python3-pygments, python3-nose
51+Depends: python3-all, python3-pygments, python3-nose
52
53=== modified file 'debian/tests/python-pygments'
54--- debian/tests/python-pygments 2013-01-06 14:38:26 +0000
55+++ debian/tests/python-pygments 2014-11-06 12:37:53 +0000
56@@ -3,9 +3,8 @@
57 set -eu
58
59 cp -r tests "$ADTTMP"
60-cat debian/patches/disable_example_files_test.patch | (cd "$ADTTMP/tests" && patch -p2)
61 cd "$ADTTMP/tests"
62
63 for python in $(pyversions -i); do
64- PYTHONWARNINGS=d $python ./run.py 2>&1
65+ PYTHONWARNINGS=d $python ./run.py --verbose 2>&1
66 done
67
68=== modified file 'debian/tests/python3-pygments'
69--- debian/tests/python3-pygments 2013-01-06 14:38:26 +0000
70+++ debian/tests/python3-pygments 2014-11-06 12:37:53 +0000
71@@ -3,9 +3,8 @@
72 set -eu
73
74 cp -r tests "$ADTTMP"
75-cat debian/patches/disable_example_files_test.patch | (cd "$ADTTMP/tests" && patch -p2)
76 cd "$ADTTMP/tests"
77
78 for python in $(py3versions -i); do
79- PYTHONWARNINGS=d $python ./run.py 2>&1
80+ PYTHONWARNINGS=d $python ./run.py --verbose 2>&1
81 done

Subscribers

People subscribed via source and target branches