summaryrefslogtreecommitdiffstats
path: root/libcxx/utils
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2018-12-11 17:05:20 +0000
committerLouis Dionne <ldionne@apple.com>2018-12-11 17:05:20 +0000
commitedc36c0731bc033d1ebe9792dec8546443d2d08f (patch)
tree19889c2557ed176f1c099460d329831c03cbcb15 /libcxx/utils
parentc2a44ecf3901de0fe3e3252596b33ecd0faaf8be (diff)
downloadbcm5719-llvm-edc36c0731bc033d1ebe9792dec8546443d2d08f.tar.gz
bcm5719-llvm-edc36c0731bc033d1ebe9792dec8546443d2d08f.zip
[NFC] Fix incorrect (but unreachable) LIT error message
It is unreachable because we test that the cxx_stdlib_under_test is in the supported set of libraries elsewhere. Furthermore, this code relied on the `use_stdlib_type`, which is never defined. llvm-svn: 348867
Diffstat (limited to 'libcxx/utils')
-rw-r--r--libcxx/utils/libcxx/test/config.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py
index dbb250e9332..361c3d3cdd9 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -757,9 +757,7 @@ class Configuration(object):
elif self.cxx_stdlib_under_test == 'cxx_default':
self.cxx.link_flags += ['-pthread']
else:
- self.lit_config.fatal(
- 'unsupported value for "use_stdlib_type": %s'
- % use_stdlib_type)
+ self.lit_config.fatal('invalid stdlib under test')
link_flags_str = self.get_lit_conf('link_flags', '')
self.cxx.link_flags += shlex.split(link_flags_str)
OpenPOWER on IntegriCloud