From 33585bbfe0185a7be72cd6e60961aebe6aa623c8 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 26 Mar 2014 09:32:17 -0400 Subject: docs: add README.tempest Signed-off-by: Bruce Ashfield --- meta-openstack/README.tempest | 55 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 meta-openstack/README.tempest (limited to 'meta-openstack') diff --git a/meta-openstack/README.tempest b/meta-openstack/README.tempest new file mode 100644 index 0000000..884a28a --- /dev/null +++ b/meta-openstack/README.tempest @@ -0,0 +1,55 @@ +# enable in local.conf via: +OPENSTACK_CONTROLLER_EXTRA_INSTALL += "tempest keystone-tests glance-tests cinder-tests \ + horizon-tests heat-tests neutron-tests nova-tests ceilometer-tests" + +# For the tempest built-in tests: +--------------------------------- + # edit /etc/tempest/tempest.conf to suit details of the system + % cd /usr/lib/python2.7/site-packages + % nosetests --verbose tempest/api + +OR (less reliable) + + % cd /usr/lib/python2.7/site-packages + % cp /etc/tempest/.testr.conf . + % testr init + % testr run --parallel tempest + +# For individual package tests +------------------------------ +# typical: + % cd /usr/lib/python2.7/site-packages/ + % /etc//run_tests.sh --verbose -N + +# Cinder: +# Notes: tries to run setup.py, --debug works around part of the issue + % cd /usr/lib/python2.7/site-packages/ + % nosetests --verbose cinder/tests + +# Neutron: +# Notes: use nosetests directly + % cd /usr/lib/python2.7/site-packages/ + % nosetests --verbose neutron/tests + +# Nova: +# Notes: vi /usr/lib/python2.7/site-packages/nova/tests/conf_fixture.py +# modify api-paste.ini reference to be /etc/nova/api-paste.ini, the conf +# file isn't being read properly, so some tests will fail to run + % cd / + % nosetests --verbose /usr/lib/python2.7/site-packages/nova/tests + +# keystone: +# + +# Other Notes: +-------------- + + 1) testr: not so good, can be missing, some tools are. use nostests directly + instead. + 2) all run_tests.sh are provided, even though they are similar + + + + + + -- cgit v1.2.3-54-g00ecf