thrift/test/py
Thomas Petazzoni 1744cdcb67 configure.ac, Makefile.am: introduce THRIFT variable to support cross-compilation
The thrift build system currently assumes that the thrift compiler is
always available in $(top_builddir)/compiler/cpp/thrift. However, in a
cross-compilation context, this location contains the thrift compiler
built for the target... which obviously will not run on the build
machine.

In order to support such cross-compilation situation, we introduce the
THRIFT variable as a an argument for the configure script (using
AC_ARG_VAR). If not specified, it defaults to the existing value of
using compiler/cpp/thrift from the build directory, but it can be
overridden when calling ./configure.

Note that $(top_builddir) cannot be used within the configure script,
so we simply use `pwd`, which is the same as the top_builddir.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

This closes #1336
This closes #1350
2017-09-09 07:50:54 -07:00
..
explicit_module THRIFT-3290: Using from in variable names causes the generated Python code to have errors 2015-09-24 22:58:45 -04:00
CMakeLists.txt THRIFT-3612 Add Python C extension for compact protocol 2016-02-13 23:12:34 +09:00
FastbinaryTest.py THRIFT-3613 Port Python C extension to Python 3 2016-02-13 23:12:34 +09:00
generate.cmake THRIFT-2642 Recursive structs don't work in python 2017-07-06 22:59:10 +02:00
Makefile.am configure.ac, Makefile.am: introduce THRIFT variable to support cross-compilation 2017-09-09 07:50:54 -07:00
RunClientServer.py THRIFT-3938 Python TNonblockingServer does not work with SSL 2017-02-12 21:11:36 +09:00
SerializationTest.py THRIFT-2642 Recursive structs don't work in python 2017-07-06 22:59:10 +02:00
setup.cfg THRIFT-3691 Run flake8 Python style check on Travis-CI 2016-02-28 12:05:14 +09:00
TestClient.py THRIFT-3691 Run flake8 Python style check on Travis-CI 2016-02-28 12:05:14 +09:00
TestEof.py THRIFT-3613 Port Python C extension to Python 3 2016-02-13 23:12:34 +09:00
TestFrozen.py THRIFT-3613 Port Python C extension to Python 3 2016-02-13 23:12:34 +09:00
TestServer.py THRIFT-3613 Port Python C extension to Python 3 2016-02-13 23:12:34 +09:00
TestSocket.py THRIFT-3601 Better conformance to PEP8 for generated code 2016-02-05 20:48:07 +09:00
TestSyntax.py THRIFT-3691 Run flake8 Python style check on Travis-CI 2016-02-28 12:05:14 +09:00
TSimpleJSONProtocolTest.py THRIFT-3596 Better conformance to PEP8 2016-02-04 14:28:24 +09:00
util.py THRIFT-3613 Port Python C extension to Python 3 2016-02-13 23:12:34 +09:00