18 lines
477 B
Bash
Executable File
18 lines
477 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
set -e
|
|
|
|
envdir=$1
|
|
|
|
# The source for the client library is checked out by pip because of
|
|
# the deps listed in tox.ini, so we just need to move into that
|
|
# directory.
|
|
# NOTE(tonyb): tools/tox_install.sh will place the code in 1 of 2 paths
|
|
# depending on whether zuul-cloner is used, so try each possible location
|
|
cd $envdir/src/python-neutronclient || \
|
|
cd $envdir/src/openstack/python-neutronclient
|
|
|
|
pip install -r test-requirements.txt
|
|
|
|
python setup.py testr
|