From f44c06b96fbd8e5258be949e84abaac0f6fb5050 Mon Sep 17 00:00:00 2001 From: Yunzhong Gao Date: Fri, 20 Mar 2015 22:08:40 +0000 Subject: [PATCH] Tell lit.cfg about more Windows triples. For example, the host triple on my 64-bit PC is x86_64-pc-windows-msvc. llvm-svn: 232854 --- llvm/test/lit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg index 173d51bdf805..059af8914e3e 100644 --- a/llvm/test/lit.cfg +++ b/llvm/test/lit.cfg @@ -176,7 +176,7 @@ lli = 'lli' # we don't support COFF in MCJIT well enough for the tests, force ELF format on # Windows. FIXME: the process target triple should be used here, but this is # difficult to obtain on Windows. -if re.search(r'cygwin|mingw32|windows-gnu|win32', config.host_triple): +if re.search(r'cygwin|mingw32|windows-gnu|windows-msvc|win32', config.host_triple): lli += ' -mtriple='+config.host_triple+'-elf' config.substitutions.append( ('%lli', lli ) )