From 322757cae98efdb17b12e9eb2c39197e8470e1c8 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Thu, 30 Mar 2017 04:51:19 +0000 Subject: [PATCH] libc++ config testing: `use_system_cxx_lib` can be a bool Fix the libc++ Green Dragon bot. llvm-svn: 299055 --- libcxx/utils/libcxx/test/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py index 9d4f7f3..df25d94 100644 --- a/libcxx/utils/libcxx/test/config.py +++ b/libcxx/utils/libcxx/test/config.py @@ -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) -- 2.7.4