deb-cinder/tools
Kui Shi 91e2466f2d 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
2013-08-31 19:39:09 +08:00
..
conf Add venv wrapper for check_uptodate.sh 2013-08-31 19:39:09 +08:00
colorizer.py Fix up the test framework 2013-06-14 14:02:17 +00:00
enable-pre-commit-hook.sh Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
install_venv_common.py Sync install_venv_common from oslo 2013-07-05 22:37:43 -04:00
install_venv.py Fix python 3 pep8 errors for print 2013-08-21 16:59:22 -06:00
lintstack.py Fix python 3 pep8 errors for print 2013-08-21 16:59:22 -06:00
lintstack.sh Add pylint-based lintstack test to tox environment 2013-05-10 07:22:05 -04:00
patch_tox_venv.py Merge from oslo-incubator 2013-06-12 19:37:16 +02:00
with_venv.sh Fix up the test framework 2013-06-14 14:02:17 +00:00