163ee83ce8
We do not need tox_install.sh, pip can handle constraints itself and install the project correctly. Thus update tox.ini and remove the now obsolete tools/tox_install.sh file. This follows https://review.openstack.org/#/c/508061 to remove tools/tox_install.sh. tox_install.sh was also building ovs for functional test. Move this into tools/setup-ovs.sh and call it from functional tox environment. Change-Id: I5857c8ae3e945328c0f24bda37629ce7e0faefa7
12 lines
497 B
Bash
Executable File
12 lines
497 B
Bash
Executable File
#!/bin/bash -xe
|
|
|
|
# We require at least OVS 2.7. Testing infrastructure doesn't support it yet,
|
|
# so build it. Eventually, we should run some checks to see what is actually
|
|
# installed and see if we can use it instead.
|
|
if [ "$OVS_SRCDIR" -a ! -d "$OVS_SRCDIR" ]; then
|
|
echo "Building OVS in $OVS_SRCDIR"
|
|
mkdir -p $OVS_SRCDIR
|
|
git clone git://github.com/openvswitch/ovs.git $OVS_SRCDIR
|
|
(cd $OVS_SRCDIR && ./boot.sh && PYTHON=/usr/bin/python ./configure && make -j$(($(nproc) + 1)))
|
|
fi
|