[tests] Change test default to run against locally built library.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@174528 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6b8b9922f0
commit
88dec1ef5c
@ -238,8 +238,7 @@ else:
|
|||||||
|
|
||||||
# This test suite supports testing against either the system library or the
|
# This test suite supports testing against either the system library or the
|
||||||
# locally built one; the former mode is useful for testing ABI compatibility
|
# locally built one; the former mode is useful for testing ABI compatibility
|
||||||
# between the current headers and a shipping dynamic library. We require the
|
# between the current headers and a shipping dynamic library.
|
||||||
# user to explicitly pick one of the two modes.
|
|
||||||
use_system_lib_str = lit.params.get('use_system_lib', None)
|
use_system_lib_str = lit.params.get('use_system_lib', None)
|
||||||
if use_system_lib_str is not None:
|
if use_system_lib_str is not None:
|
||||||
if use_system_lib_str.lower() in ('1', 'true'):
|
if use_system_lib_str.lower() in ('1', 'true'):
|
||||||
@ -249,7 +248,8 @@ if use_system_lib_str is not None:
|
|||||||
else:
|
else:
|
||||||
lit.fatal('user parameter use_system_lib should be 0 or 1')
|
lit.fatal('user parameter use_system_lib should be 0 or 1')
|
||||||
else:
|
else:
|
||||||
use_system_lib = True
|
# Default to testing against the locally built libc++ library.
|
||||||
|
use_system_lib = False
|
||||||
|
|
||||||
# Configure extra compiler flags.
|
# Configure extra compiler flags.
|
||||||
include_paths = ['-I' + libcxx_src_root + '/include', '-I' + libcxx_src_root + '/test/support']
|
include_paths = ['-I' + libcxx_src_root + '/include', '-I' + libcxx_src_root + '/test/support']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user