~ubuntu-branches/ubuntu/raring/nova/raring-proposed

« back to all changes in this revision

Viewing changes to tox.ini

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Chuck Short, Adam Gandelman, Yolanda Robla, James Page
  • Date: 2013-01-11 13:06:56 UTC
  • mfrom: (1.1.67)
  • Revision ID: package-import@ubuntu.com-20130111130656-7n7fkevy03stm3mv
Tags: 2013.1~g2-0ubuntu1
[ Chuck Short ]
* New upstream release.
* debian/patches/ubuntu-show-tests.patch: Dropped no longer needed.
* debian/nova-xcp-plugins.install: Fix xcp-plugins empty packages
* debian/control: Drop python-nose in favor or testrepository
* debian/control: Add python-coverage as a build dep.
* debian/rules, debian/control: Run pep8 tests.
* debian/*.init: Remove they are not needed and take up space
* debian/control, debian/nova-cells.{install, logrotate, upstart}: Add
  cells support.
* debian/patches/fix-ubuntu-tests.patch: temporarily disable failing tests.
* debian/control, debian/nova-baremetal.{install, logrotate, upstart}: Add
  nova baremetal support.
* debian/control: Remove python-support.

[ Adam Gandelman ]
* debian/*.manpages: Install Sphinx-generated manpages instead of
  our own.
* debian/nova-compute-*.conf: Specify the newly required compute_driver
  flag in addition to libvirt_type.
* debian/control:  Specify required python-webob and python-stevedore
  versions.

[ Yolanda Robla ]
* debian/*.upstart: Use start-stop-daemon instead of su for chuid
  (LP: #1086833).
* debian/rules: Remove override of dh_installinit for discriminating
  between Debian and Ubuntu.
* debian/nova-common.docs: Installing changelogs from rules
* debian/rules: Replacing perms in /etc/nova/logging.conf for 0644
* debian/control: adduser dependency on nova-compute.
* debian/control: added section oldlibs and priority extra on
  nova-ajax-console-proxy.
* debian/nova-xvpvncproxy.postrm: removing because of duplicates.

[ James Page ]
* d/control: Add ~ to python-sqlalchemy-ext versioned dependencies to
  make backporting easier.
* d/control: Updated nova-volume description and depdendencies to
  mark it as a transitional package, moved to oldlibs/extra.
* d/p/fix-libvirt-tests.patch: Dropped; accepted upstream.
* d/control: Added python-stevedore to BD's.
* d/*.postrm: Dropped postrm's that just run update-rc.d; this is not
  required when deploying upstart configurations only.
* d/nova-scheduler.manpages: Add man page for nova-rpc-zmq-receiver.
* d/rules: Install upstream changelog with a policy compliant name.
* d/control: Mark nova-compute-xcp as virtual package.
* d/control: nova-api-os-volume; Depend on cinder-api and mark as
  transitional package.
* d/nova-api-os-volume.lintian-overrides: Dropped - no longer required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
         LC_ALL=C
9
9
deps = -r{toxinidir}/tools/pip-requires
10
10
       -r{toxinidir}/tools/test-requires
11
 
commands =
12
 
  python tools/patch_tox_venv.py
13
 
  python setup.py testr --slowest --testr-args='{posargs}'
 
11
commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
 
12
           bash -c 'testr run --parallel {posargs} ; RET=$? ; echo "Slowest Tests" ; testr slowest && exit $RET'
14
13
 
15
14
[tox:jenkins]
16
15
sitepackages = True
17
16
downloadcache = ~/cache/pip
18
17
 
19
18
[testenv:pep8]
20
 
commands = bash tools/run_pep8.sh
 
19
deps=pep8==1.3.3
 
20
commands =
 
21
  python tools/hacking.py --ignore=N402,E12,E711,E721,E712 --repeat --show-source \
 
22
    --exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg .
 
23
  python tools/hacking.py --ignore=N402,E12,E711,E721,E712 --repeat --show-source \
 
24
    --filename=nova* bin
21
25
 
22
26
[testenv:pylint]
23
27
setenv = VIRTUAL_ENV={envdir}
30
34
commands = python tools/flakes.py nova
31
35
 
32
36
[testenv:cover]
33
 
# Also do not run test_coverage_ext tests while gathering coverage as those
34
 
# tests conflict with coverage.
35
 
setenv = VIRTUAL_ENV={envdir}
36
 
commands =
37
 
  python tools/patch_tox_venv.py
38
 
  python setup.py testr --coverage \
39
 
    --testr-args='^(?!.*test.*coverage).*$'
 
37
# Need to omit DynamicallyCompiledCheetahTemplate.py from coverage because
 
38
# it ceases to exist post test run. Also do not run test_coverage_ext tests
 
39
# while gathering coverage as those tests conflict with coverage.
 
40
setenv = OMIT=--omit=DynamicallyCompiledCheetahTemplate.py
 
41
         PYTHON=coverage run --source nova --parallel-mode
 
42
commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
 
43
           bash -c 'testr run --parallel \^\(\?\!\.\*test_coverage_ext\)\.\*\$ ; RET=$? ; coverage combine ; coverage html -d ./cover $OMIT && exit $RET'
40
44
 
41
45
[testenv:venv]
42
46
commands = {posargs}