[libcxxabi] r334926 - Fix libcxxabi tests after clang r334924
Vitaly Buka via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 17 23:43:56 PDT 2018
Author: vitalybuka
Date: Sun Jun 17 23:43:55 2018
New Revision: 334926
URL: http://llvm.org/viewvc/llvm-project?rev=334926&view=rev
Log:
Fix libcxxabi tests after clang r334924
Modified:
libcxxabi/trunk/test/libcxxabi/test/config.py
Modified: libcxxabi/trunk/test/libcxxabi/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/libcxxabi/test/config.py?rev=334926&r1=334925&r2=334926&view=diff
==============================================================================
--- libcxxabi/trunk/test/libcxxabi/test/config.py (original)
+++ libcxxabi/trunk/test/libcxxabi/test/config.py Sun Jun 17 23:43:55 2018
@@ -35,7 +35,7 @@ class Configuration(LibcxxConfiguration)
super(Configuration, self).configure_obj_root()
def has_cpp_feature(self, feature, required_value):
- return intMacroValue(self.cxx.dumpMacros().get('__cpp_' + feature, 0)) >= required_value
+ return intMacroValue(self.cxx.dumpMacros().get('__cpp_' + feature, '0')) >= required_value
def configure_features(self):
super(Configuration, self).configure_features()
More information about the cfe-commits
mailing list