Reviewed: https://review.openstack.org/44589 Committed: http://github.com/openstack/cinder/commit/91e2466f2dd9dcdcaf1d443be66b51c861182784 Submitter: Jenkins Branch: master
commit 91e2466f2dd9dcdcaf1d443be66b51c861182784 Author: Kui Shi <email address hidden> Date: Sat Aug 31 19:24:38 2013 +0800
Add venv wrapper for check_uptodate.sh
tools/conf/check_uptodate.sh is added in run_tests.sh
For simple, run "run_tests.sh -p" will call it, and get following error:
Failed to collect options from module cinder.volume.drivers.san.hp.hp_3par_common: No module named hp3parclient
Actually, the hp3parclient is listed in test-requirements.txt, and it is installed in venv.
the check_uptodate.sh should run in venv to get correct result.
update the error message to update the cindier.conf.sample correctly.
----------- Test method ----------- $ pwd /opt/stack/cinder
$ source .venv/bin/activate; tools/conf/generate_sample.sh
(.venv)$ deactivate
$ ./run_tests.sh -p Running flake8 ... // no error emitted here
Fixes Bug #1219197
Change-Id: I9b3eaf3c1a5eb395eefed28bb907685cdef147aa
Reviewed: https:/ /review. openstack. org/44589 github. com/openstack/ cinder/ commit/ 91e2466f2dd9dcd caf1d443be66b51 c861182784
Committed: http://
Submitter: Jenkins
Branch: master
commit 91e2466f2dd9dcd caf1d443be66b51 c861182784
Author: Kui Shi <email address hidden>
Date: Sat Aug 31 19:24:38 2013 +0800
Add venv wrapper for check_uptodate.sh
tools/ conf/check_ uptodate. sh is added in run_tests.sh
For simple, run "run_tests.sh -p" will call it, and get following error:
Failed to collect options from module volume. drivers. san.hp. hp_3par_ common: No module named hp3parclient
cinder.
Actually, the hp3parclient is listed in test-requiremen ts.txt, and it is
installed in venv.
the check_uptodate.sh should run in venv to get correct result.
update the error message to update the cindier.conf.sample correctly.
----------- stack/cinder
Test method
-----------
$ pwd
/opt/
$ source .venv/bin/activate; tools/conf/ generate_ sample. sh
(.venv)$ deactivate
$ ./run_tests.sh -p
Running flake8 ...
// no error emitted here
Fixes Bug #1219197
Change-Id: I9b3eaf3c1a5eb3 95eefed28bb9076 85cdef147aa