JIRA: YARDSTICK-428
Now in master, we move the requirements.txt from tests/ci/ to yardstick
root path.
But in colorado, this has yet to be done.If we cherry pick from master
to colorado, it will encounter error.
So we must make it compatible.
Change-Id: I0537d989e677b73e19a1e093166493f3f6d25783
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
# install python packages
easy_install -U setuptools
easy_install -U pip
- pip install -r requirements.txt
+ pip install -r requirements.txt || pip install -r tests/ci/requirements.txt
pip install -e .
# unit tests