Exclude known and bugzilled failures from UBSan bootstrap
[oota-llvm.git] / test / MC / SystemZ / lit.local.cfg
index b12af09434beaac3dfb7a08a7de0a0eec70ccc0c..78c5738c7acc7b98d52eff6ed1b859690367d287 100644 (file)
@@ -1,4 +1,6 @@
-targets = set(config.root.targets_to_build.split())
-if not 'SystemZ' in targets:
+if not 'SystemZ' in config.root.targets:
     config.unsupported = True
 
+# http://llvm.org/bugs/show_bug.cgi?id=20980
+if 'ubsan' in config.available_features:
+  config.unsupported = True