File: neutronclient-tip.sh

package info (click to toggle)
python-cliff 2.13.0-1~bpo9+2
  • links: PTS, VCS
  • area: main
  • in suites: stretch-backports
  • size: 592 kB
  • sloc: python: 4,389; makefile: 169; sh: 13
file content (17 lines) | stat: -rwxr-xr-x 477 bytes parent folder | download | duplicates (4)
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