summaryrefslogtreecommitdiff
path: root/integration-tests/neutronclient-tip.sh
blob: 488049c0744b7c3040a53dc4f79528db81bac44b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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