summaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2014-03-26 09:32:17 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-03-26 09:32:17 -0400
commit33585bbfe0185a7be72cd6e60961aebe6aa623c8 (patch)
tree9b8ba7ffa016225f9f931380ad7478df84999ad4 /meta-openstack
parent7ea966f082b35ff541a377456d833c8b6b43229d (diff)
downloadmeta-cloud-services-33585bbfe0185a7be72cd6e60961aebe6aa623c8.tar.gz
docs: add README.tempest
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack')
-rw-r--r--meta-openstack/README.tempest55
1 files changed, 55 insertions, 0 deletions
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 @@
1# enable in local.conf via:
2OPENSTACK_CONTROLLER_EXTRA_INSTALL += "tempest keystone-tests glance-tests cinder-tests \
3 horizon-tests heat-tests neutron-tests nova-tests ceilometer-tests"
4
5# For the tempest built-in tests:
6---------------------------------
7 # edit /etc/tempest/tempest.conf to suit details of the system
8 % cd /usr/lib/python2.7/site-packages
9 % nosetests --verbose tempest/api
10
11OR (less reliable)
12
13 % cd /usr/lib/python2.7/site-packages
14 % cp /etc/tempest/.testr.conf .
15 % testr init
16 % testr run --parallel tempest
17
18# For individual package tests
19------------------------------
20# typical:
21 % cd /usr/lib/python2.7/site-packages/<project>
22 % /etc/<project>/run_tests.sh --verbose -N
23
24# Cinder:
25# Notes: tries to run setup.py, --debug works around part of the issue
26 % cd /usr/lib/python2.7/site-packages/
27 % nosetests --verbose cinder/tests
28
29# Neutron:
30# Notes: use nosetests directly
31 % cd /usr/lib/python2.7/site-packages/
32 % nosetests --verbose neutron/tests
33
34# Nova:
35# Notes: vi /usr/lib/python2.7/site-packages/nova/tests/conf_fixture.py
36# modify api-paste.ini reference to be /etc/nova/api-paste.ini, the conf
37# file isn't being read properly, so some tests will fail to run
38 % cd /
39 % nosetests --verbose /usr/lib/python2.7/site-packages/nova/tests
40
41# keystone:
42#
43
44# Other Notes:
45--------------
46
47 1) testr: not so good, can be missing, some tools are. use nostests directly
48 instead.
49 2) all run_tests.sh are provided, even though they are similar
50
51
52
53
54
55