summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-07-20 16:03:32 +0000
committerGerrit Code Review <review@openstack.org>2015-07-20 16:03:32 +0000
commit7d39811f74e265972c568e26577a500b0b8f3190 (patch)
tree4958f12ddd5a08b66f0dd01ef319addb712591ea /HACKING.rst
parentc4defdb168645298ba52033a659736d623622c53 (diff)
parentf72b7e35c8b208782c32177f8966ffc10a69974b (diff)
downloadnova-7d39811f74e265972c568e26577a500b0b8f3190.tar.gz
Merge "Update HACKING.rst for running tests and building docs"
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/HACKING.rst b/HACKING.rst
index d745a30753..8329e97663 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -76,13 +76,13 @@ testr arguments that are needed to tox. For example, you can run:
--analyze-isolation to its argument list.
Python packages may also have dependencies that are outside of tox's ability
-to install. Please refer to doc/source/devref/development.environment.rst for
+to install. Please refer to ``doc/source/development.environment.rst`` for
a list of those packages on Ubuntu, Fedora and Mac OS X.
To run a single or restricted set of tests, pass a regex that matches
the class name containing the tests as an extra ``tox`` argument;
e.g. ``tox -- TestWSGIServer`` (note the double-hypen) will test all
-WSGI server tests from ``nova/tests/test_wsgi.py``; ``--
+WSGI server tests from ``nova/tests/unit/test_wsgi.py``; ``--
TestWSGIServer.test_uri_length_limit`` would run just that test, and
``-- TestWSGIServer|TestWSGIServerWithSSL`` would run tests from both
classes.
@@ -98,7 +98,7 @@ http://wiki.openstack.org/testr
Building Docs
-------------
Normal Sphinx docs can be built via the setuptools ``build_sphinx`` command. To
-do this via ``tox``, simply run ``tox -evenv -- python setup.py build_sphinx``,
+do this via ``tox``, simply run ``tox -e docs``,
which will cause a virtualenv with all of the needed dependencies to be
created and then inside of the virtualenv, the docs will be created and
put into doc/build/html.