summaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
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