Skip to content
Snippets Groups Projects
Commit 78f1caa8 authored by Nathaniel Manista's avatar Nathaniel Manista
Browse files

Merge pull request #1068 from soltanmm/fix-py-test

Fix Python test ignorance of build config
parents 09eaec02 65af063a
No related branches found
No related tags found
No related merge requests found
...@@ -38,5 +38,5 @@ rm -rf python2.7_virtual_environment ...@@ -38,5 +38,5 @@ rm -rf python2.7_virtual_environment
virtualenv -p /usr/bin/python2.7 python2.7_virtual_environment virtualenv -p /usr/bin/python2.7 python2.7_virtual_environment
source python2.7_virtual_environment/bin/activate source python2.7_virtual_environment/bin/activate
pip install enum34==1.0.4 futures==2.2.0 protobuf==3.0.0-alpha-1 pip install enum34==1.0.4 futures==2.2.0 protobuf==3.0.0-alpha-1
CFLAGS=-I$root/include LDFLAGS=-L$root/libs/opt pip install src/python/src CFLAGS=-I$root/include LDFLAGS=-L$root/libs/$CONFIG pip install src/python/src
pip install src/python/interop pip install src/python/interop
...@@ -34,6 +34,6 @@ set -ex ...@@ -34,6 +34,6 @@ set -ex
cd $(dirname $0)/../.. cd $(dirname $0)/../..
root=`pwd` root=`pwd`
export LD_LIBRARY_PATH=$root/libs/opt export LD_LIBRARY_PATH=$root/libs/$CONFIG
source python2.7_virtual_environment/bin/activate source python2.7_virtual_environment/bin/activate
python2.7 -B $* python2.7 -B $*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment