libc++ config testing: `use_system_cxx_lib` can be a bool
authorMehdi Amini <mehdi.amini@apple.com>
Thu, 30 Mar 2017 04:51:19 +0000 (04:51 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Thu, 30 Mar 2017 04:51:19 +0000 (04:51 +0000)
Fix the libc++ Green Dragon bot.

llvm-svn: 299055

libcxx/utils/libcxx/test/config.py

index 9d4f7f3..df25d94 100644 (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)