Make tests work like they used to.

Change-Id: I081d853a90ad0efce5b7a20b52794ce3348a9617
This commit is contained in:
gholt 2012-03-12 21:54:31 +00:00
parent 9e713e1078
commit 1c349a387d
4 changed files with 13 additions and 7 deletions

View File

@ -1,4 +1,9 @@
#!/bin/bash
nosetests test/functional $@
nosetests test/functionalnosetests $@
cd test/functional
nosetests --exe $@
cd -
cd test/functionalnosetests
nosetests --exe $@
cd -

View File

@ -1,3 +1,5 @@
#!/bin/bash
nosetests test/probe
cd test/probe
nosetests --exe
cd -

View File

@ -1,4 +1,6 @@
#!/bin/bash
nosetests test/unit --with-coverage --cover-package swift --cover-erase $@
cd test/unit
nosetests --exe --with-coverage --cover-package swift --cover-erase $@
rm -f .coverage
cd -

View File

@ -32,8 +32,6 @@ Installing dependencies and the core code
python-coverage python-dev python-nose python-setuptools python-simplejson
python-xattr sqlite3 xfsprogs python-webob python-eventlet
python-greenlet python-pastedeploy python-netifaces`
#. `easy_install pip`
#. `pip install openstack.nose_plugin`
#. Install anything else you want, like screen, ssh, vim, etc.
* On Fedora, log in as root and do:
@ -43,7 +41,6 @@ Installing dependencies and the core code
#. `yum install xinetd rsync`
#. `yum install memcached`
#. `yum install python-netifaces python-nose`
#. `pip install openstack.nose_plugin`
This installs all necessary dependencies, and also creates user `swift`
and group `swift`. So, `swift:swift` ought to be used in every place where