[libcxx] Fix a typo in test/libcxx/test/target_info.py that prevents running tests...
authorKuba Brecka <kuba.brecka@gmail.com>
Wed, 14 Sep 2016 14:13:50 +0000 (14:13 +0000)
committerKuba Brecka <kuba.brecka@gmail.com>
Wed, 14 Sep 2016 14:13:50 +0000 (14:13 +0000)
Differential Revision: https://reviews.llvm.org/D24297

llvm-svn: 281476

libcxx/test/libcxx/test/target_info.py

index a66d33e..dc94e7a 100644 (file)
@@ -115,7 +115,7 @@ class DarwinLocalTI(DefaultTargetInfo):
         return False
 
     def add_sanitizer_features(self, sanitizer_type, features):
-        if san == 'Undefined':
+        if sanitizer_type == 'Undefined':
             features.add('sanitizer-new-delete')