summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-02-06 17:47:08 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-02-06 17:47:08 +0000
commit5178942dedde6560316d52699742694e4495ea62 (patch)
treee1c51382ff4449ec56709fb31e40ef32d2caf841 /libcxx
parentd2d614cd84b48b5129624c301a6ee4e20603fefd (diff)
downloadbcm5719-llvm-5178942dedde6560316d52699742694e4495ea62.tar.gz
bcm5719-llvm-5178942dedde6560316d52699742694e4495ea62.zip
[tests] Change test default to run against locally built library.
llvm-svn: 174528
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/test/lit.cfg6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/test/lit.cfg b/libcxx/test/lit.cfg
index a46e142649d..4b917081d61 100644
--- a/libcxx/test/lit.cfg
+++ b/libcxx/test/lit.cfg
@@ -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']
OpenPOWER on IntegriCloud