Merge lp:~thenewme91/filestore/lp822413 into lp:filestore

Proposed by Michael Chang
Status: Merged
Merged at revision: 144
Proposed branch: lp:~thenewme91/filestore/lp822413
Merge into: lp:filestore
Diff against target: 22 lines (+8/-0)
1 file modified
debian/rules (+8/-0)
To merge this branch: bzr merge lp:~thenewme91/filestore/lp822413
Reviewer Review Type Date Requested Status
Jason Gerard DeRose Approve
Review via email: mp+70860@code.launchpad.net

Commit message

Update debian/rules to run `./setup.py test` during build (LP: #822413).

Description of the change

Update debian/rules to run `./setup.py test` during build (LP: #822413).

To post a comment you must log in.
Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Nice work Michael, Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/rules'
2--- debian/rules 2011-05-11 09:54:34 +0000
3+++ debian/rules 2011-08-09 12:08:04 +0000
4@@ -1,10 +1,18 @@
5 #!/usr/bin/make -f
6+
7+PYTHON3=$(shell py3versions -vr)
8+
9 %:
10 dh $@ --with=python3
11
12+test-python%:
13+ python$* setup.py test -vv
14+
15 override_dh_auto_install:
16 for pyvers in $(shell py3versions -sv); do \
17 python$$pyvers setup.py install \
18 --install-layout=deb \
19 --root $(CURDIR)/debian/python3-filestore; \
20 done
21+
22+override_dh_auto_test: $(PYTHON3:%=test-python%)

Subscribers

People subscribed via source and target branches