~ubuntu-branches/ubuntu/vivid/neutron-vpnaas/vivid-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-03-30 11:20:04 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20150330112004-20hxur2ww41nbvos
Tags: 1:2015.1~b3-0ubuntu1
* New upstream milestone release:
  - d/control: Align version requirements with upstream, add new dependency
    on python-oslo-log.
* Enable unit test suite execution:
  - d/control: Switch BD on python-neutron -> neutron-common.
  - d/rules: Enable execution of unit tests.
* d/control: Add runtime dependency on python-neutron-fwaas.
* d/control: Add runtime dependency on strongswan, with fallback to openswan
  to ensure that any openswan deployments on 14.04 don't get broken during
  upgrades.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
%:
9
9
        dh $@ --with python2,systemd --buildsystem=python_distutils
10
10
 
11
 
# NOTE(jamespage): Disable unit tests for now, as they rely on bits
12
 
#                                  from a dynamically generated egg from github.
13
 
#ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
14
 
#override_dh_auto_test:
15
 
#       rm -rf .testrepository
16
 
#       testr init && \
17
 
#       set -e && \
18
 
#       TEMP_REZ=`mktemp -t` && \
19
 
#       testr run --subunit | tee $$TEMP_REZ | subunit2pyunit; \
20
 
#       rm -f $$TEMP_REZ ;
21
 
#endif
 
11
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
 
12
override_dh_auto_test:
 
13
        rm -rf .testrepository
 
14
        testr init && \
 
15
        set -e && \
 
16
        TEMP_REZ=`mktemp -t` && \
 
17
        testr run --subunit neutron_vpnaas.tests.unit | tee $$TEMP_REZ | subunit2pyunit; \
 
18
        rm -f $$TEMP_REZ ;
 
19
endif
22
20
 
23
21
override_dh_auto_clean:
24
22
        dh_auto_clean