Allow specifying tool path/prefix for tests with CROSS_COMPILE.
authorRobert Flack <flackr@gmail.com>
Mon, 20 Apr 2015 18:07:55 +0000 (18:07 +0000)
committerRobert Flack <flackr@gmail.com>
Mon, 20 Apr 2015 18:07:55 +0000 (18:07 +0000)
commitfa8aa172ad066ba37dec6b9333e63c93478ec581
treef3f4ebfcfffbc1e4760480d0ebc4baa134cd25e3
parentbad1d1dc02ed4589de14d22296efb59624dc9579
Allow specifying tool path/prefix for tests with CROSS_COMPILE.

CROSS_COMPILE environment variable is a common convention to specify the path
and/or prefix to cross compilation tools (e.g. ar, objcopy).

Test Plan:
dotest.py $DOTEST_OPTS -t -p 'TestBSDArchives.py|TestBreakpointCommandsFromPython.py|TestFormats.py|TestObjCDynamicValue.py'
All of these tests now compile successfully and pass running macosx -> linux
using a cross compilation toolchain prefixed by CROSS_COMPILE without requiring
changing your PATH. They still pass when run locally on macosx.

Differential Revision: http://reviews.llvm.org/D9072

llvm-svn: 235320
lldb/test/make/Makefile.rules