libc++ config testing: `use_system_cxx_lib` can be a bool

Fix the libc++ Green Dragon bot.

llvm-svn: 299055
This commit is contained in:
Mehdi Amini 2017-03-30 04:51:19 +00:00
parent 87e8e25548
commit 322757cae9
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ class Configuration(object):
elif self.use_system_cxx_lib == 'false':
self.use_system_cxx_lib = False
else:
assert os.path.isdir(self.use_system_cxx_lib)
assert os.path.isdir(str(self.use_system_cxx_lib))
self.lit_config.note(
"inferred use_system_cxx_lib as: %r" % self.use_system_cxx_lib)