[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git] / llvm / test / Other / ChangePrinters / lit.local.cfg
blob95046e4f003932c0ffcfa383da94b11ea30be916
1 import os
2 import subprocess
4 def have_needed_diff_support():
5     if not os.path.exists('/usr/bin/diff'):
6         return False
8     ld_cmd = subprocess.Popen(
9         ['/usr/bin/diff', '--help'], stdout=subprocess.PIPE, env={'LANG': 'C'})
10     ld_out = ld_cmd.stdout.read().decode()
11     ld_cmd.wait()
13     return '-line-format' in ld_out
15 if not have_needed_diff_support():
16   config.unsupported = True