
This is to address the latest lit regressions https://lab.llvm.org/buildbot/#/builders/64/builds/1285 caused by using the internal lit shell. This change will limit using the internal lit shell to TableGen on AIX so we do not hit these regressions.
11 lines
329 B
INI
11 lines
329 B
INI
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()
|