| import os | |
| if not "X86" in config.root.targets: | |
| config.unsupported = True | |
| if config.llvm_use_sanitizer: | |
| suppr = os.path.join( | |
| os.path.dirname(os.path.realpath(__file__)), "suppressions.txt" | |
| ) | |
| config.environment["LSAN_OPTIONS"] = "suppressions={}".format(suppr) | |
| config.suffixes = [".test", ".cpp", ".m", ".s"] |