projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
322757c
)
libc++ testing: fix assertion around `use_system_cxx_lib`
author
Mehdi Amini
<mehdi.amini@apple.com>
Thu, 30 Mar 2017 05:07:18 +0000
(
05:07
+0000)
committer
Mehdi Amini
<mehdi.amini@apple.com>
Thu, 30 Mar 2017 05:07:18 +0000
(
05:07
+0000)
Actually fix (hopefully) the assertions about `use_system_cxx_lib`,
the previous attempt failed because I misread the error.
llvm-svn: 299056
libcxx/utils/libcxx/test/config.py
patch
|
blob
|
history
diff --git
a/libcxx/utils/libcxx/test/config.py
b/libcxx/utils/libcxx/test/config.py
index
df25d94
..
574d5bf
100644
(file)
--- a/
libcxx/utils/libcxx/test/config.py
+++ b/
libcxx/utils/libcxx/test/config.py
@@
-279,8
+279,8
@@
class Configuration(object):
self.use_system_cxx_lib = True
elif self.use_system_cxx_lib == 'false':
self.use_system_cxx_lib = False
- else:
- assert os.path.isdir(s
tr(self.use_system_cxx_lib)
)
+ else
if self.use_system_cxx_lib
:
+ assert os.path.isdir(s
elf.use_system_cxx_lib
)
self.lit_config.note(
"inferred use_system_cxx_lib as: %r" % self.use_system_cxx_lib)