Merge "List system dependencies for running common tests"
This commit is contained in:
commit
70b737cc88
34
bindep.txt
Normal file
34
bindep.txt
Normal file
@ -0,0 +1,34 @@
|
||||
# This is a cross-platform list tracking distribution packages needed for install and tests;
|
||||
# see http://docs.openstack.org/infra/bindep/ for additional information.
|
||||
|
||||
build-essential [platform:dpkg test]
|
||||
gcc [platform:rpm test]
|
||||
gettext [test]
|
||||
graphviz [test]
|
||||
language-pack-en [platform:ubuntu]
|
||||
libffi-dev [platform:dpkg test]
|
||||
libffi-devel [platform:rpm test]
|
||||
libmysqlclient-dev [platform:dpkg]
|
||||
libpq-dev [platform:dpkg test]
|
||||
libsqlite3-dev [platform:dpkg test]
|
||||
libxml2-dev [platform:dpkg test]
|
||||
libxslt-devel [platform:rpm test]
|
||||
libxslt1-dev [platform:dpkg test]
|
||||
locales [platform:debian]
|
||||
mysql [platform:rpm]
|
||||
mysql-client [platform:dpkg]
|
||||
mysql-devel [platform:rpm test]
|
||||
mysql-server
|
||||
pkg-config [platform:dpkg test]
|
||||
pkgconfig [platform:rpm test]
|
||||
postgresql
|
||||
postgresql-client [platform:dpkg]
|
||||
postgresql-devel [platform:rpm test]
|
||||
postgresql-server [platform:rpm]
|
||||
python-dev [platform:dpkg test]
|
||||
python-devel [platform:rpm test]
|
||||
python3-all [platform:dpkg !platform:ubuntu-precise]
|
||||
python3-all-dev [platform:dpkg !platform:ubuntu-precise]
|
||||
python3-devel [platform:fedora]
|
||||
python34-devel [platform:centos]
|
||||
sqlite-devel [platform:rpm test]
|
11
tox.ini
11
tox.ini
@ -133,3 +133,14 @@ import_exceptions = nova.i18n
|
||||
# of the requirements.txt files
|
||||
deps = pip_missing_reqs
|
||||
commands=pip-missing-reqs -d --ignore-file=nova/tests/* --ignore-file=nova/test.py nova
|
||||
|
||||
[testenv:bindep]
|
||||
# Do not install any requirements. We want this to be fast and work even if
|
||||
# system dependencies are missing, since it's used to tell you what system
|
||||
# dependencies are missing! This also means that bindep must be installed
|
||||
# separately, outside of the requirements files, and develop mode disabled
|
||||
# explicitly to avoid unnecessarily installing the checked-out repo too (this
|
||||
# further relies on "tox.skipsdist = True" above).
|
||||
deps = bindep
|
||||
commands = bindep test
|
||||
usedevelop = False
|
||||
|
Loading…
Reference in New Issue
Block a user