[libcxx] r174528 - [tests] Change test default to run against locally built library.
Daniel Dunbar
daniel at zuster.org
Wed Feb 6 09:47:08 PST 2013
Author: ddunbar
Date: Wed Feb 6 11:47:08 2013
New Revision: 174528
URL: http://llvm.org/viewvc/llvm-project?rev=174528&view=rev
Log:
[tests] Change test default to run against locally built library.
Modified:
libcxx/trunk/test/lit.cfg
Modified: libcxx/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/lit.cfg?rev=174528&r1=174527&r2=174528&view=diff
==============================================================================
--- libcxx/trunk/test/lit.cfg (original)
+++ libcxx/trunk/test/lit.cfg Wed Feb 6 11:47:08 2013
@@ -238,8 +238,7 @@ else:
# This test suite supports testing against either the system library or the
# locally built one; the former mode is useful for testing ABI compatibility
-# between the current headers and a shipping dynamic library. We require the
-# user to explicitly pick one of the two modes.
+# between the current headers and a shipping dynamic library.
use_system_lib_str = lit.params.get('use_system_lib', None)
if use_system_lib_str is not None:
if use_system_lib_str.lower() in ('1', 'true'):
@@ -249,7 +248,8 @@ if use_system_lib_str is not None:
else:
lit.fatal('user parameter use_system_lib should be 0 or 1')
else:
- use_system_lib = True
+ # Default to testing against the locally built libc++ library.
+ use_system_lib = False
# Configure extra compiler flags.
include_paths = ['-I' + libcxx_src_root + '/include', '-I' + libcxx_src_root + '/test/support']
More information about the cfe-commits
mailing list