diff options
Diffstat (limited to 'llvm/test/lit.cfg')
| -rw-r--r-- | llvm/test/lit.cfg | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg index b7c5f3ef38c..348ac8f622c 100644 --- a/llvm/test/lit.cfg +++ b/llvm/test/lit.cfg @@ -139,6 +139,13 @@ if config.test_exec_root is None: ### +# Provide a target triple for mcjit tests +mcjit_triple = config.target_triple +# Force ELF format on Windows +if 'win32' in mcjit_triple.lower(): + mcjit_triple += "-elf" +config.substitutions.append( ('%mcjit_triple', mcjit_triple) ) + # When running under valgrind, we mangle '-vg' or '-vg_leak' onto the end of the # triple so we can check it with XFAIL and XTARGET. config.target_triple += lit.valgrindTriple |

