Make tests work like they used to.
Change-Id: I081d853a90ad0efce5b7a20b52794ce3348a9617
This commit is contained in:
parent
9e713e1078
commit
1c349a387d
@ -1,4 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
nosetests test/functional $@
|
cd test/functional
|
||||||
nosetests test/functionalnosetests $@
|
nosetests --exe $@
|
||||||
|
cd -
|
||||||
|
|
||||||
|
cd test/functionalnosetests
|
||||||
|
nosetests --exe $@
|
||||||
|
cd -
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
nosetests test/probe
|
cd test/probe
|
||||||
|
nosetests --exe
|
||||||
|
cd -
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/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
|
rm -f .coverage
|
||||||
|
cd -
|
||||||
|
@ -32,8 +32,6 @@ Installing dependencies and the core code
|
|||||||
python-coverage python-dev python-nose python-setuptools python-simplejson
|
python-coverage python-dev python-nose python-setuptools python-simplejson
|
||||||
python-xattr sqlite3 xfsprogs python-webob python-eventlet
|
python-xattr sqlite3 xfsprogs python-webob python-eventlet
|
||||||
python-greenlet python-pastedeploy python-netifaces`
|
python-greenlet python-pastedeploy python-netifaces`
|
||||||
#. `easy_install pip`
|
|
||||||
#. `pip install openstack.nose_plugin`
|
|
||||||
#. Install anything else you want, like screen, ssh, vim, etc.
|
#. Install anything else you want, like screen, ssh, vim, etc.
|
||||||
|
|
||||||
* On Fedora, log in as root and do:
|
* On Fedora, log in as root and do:
|
||||||
@ -43,7 +41,6 @@ Installing dependencies and the core code
|
|||||||
#. `yum install xinetd rsync`
|
#. `yum install xinetd rsync`
|
||||||
#. `yum install memcached`
|
#. `yum install memcached`
|
||||||
#. `yum install python-netifaces python-nose`
|
#. `yum install python-netifaces python-nose`
|
||||||
#. `pip install openstack.nose_plugin`
|
|
||||||
|
|
||||||
This installs all necessary dependencies, and also creates user `swift`
|
This installs all necessary dependencies, and also creates user `swift`
|
||||||
and group `swift`. So, `swift:swift` ought to be used in every place where
|
and group `swift`. So, `swift:swift` ought to be used in every place where
|
||||||
|
Loading…
Reference in New Issue
Block a user