import platform | |
import lit.formats | |
config.suffixes = [".td"] | |
config.excludes = ["Common", "Inputs"] | |
# AIX 'diff' command doesn't support --strip-trailing-cr, but the internal | |
# python implementation does, so use that for cross platform compatibility | |
if platform.system() == "AIX": | |
config.test_format = lit.formats.ShTest() |