[libcxx] r299055 - libc++ config testing: `use_system_cxx_lib` can be a bool

Mehdi Amini via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 29 21:51:20 PDT 2017


Author: mehdi_amini
Date: Wed Mar 29 23:51:19 2017
New Revision: 299055

URL: http://llvm.org/viewvc/llvm-project?rev=299055&view=rev
Log:
libc++ config testing: `use_system_cxx_lib` can be a bool

Fix the libc++ Green Dragon bot.

Modified:
    libcxx/trunk/utils/libcxx/test/config.py

Modified: libcxx/trunk/utils/libcxx/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/utils/libcxx/test/config.py?rev=299055&r1=299054&r2=299055&view=diff
==============================================================================
--- libcxx/trunk/utils/libcxx/test/config.py (original)
+++ libcxx/trunk/utils/libcxx/test/config.py Wed Mar 29 23:51:19 2017
@@ -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)
 




More information about the cfe-commits mailing list