[llvm] r232854 - Tell lit.cfg about more Windows triples.

Yunzhong Gao Yunzhong_Gao at playstation.sony.com
Fri Mar 20 15:08:40 PDT 2015

Author: ygao
Date: Fri Mar 20 17:08:40 2015
New Revision: 232854

URL: http://llvm.org/viewvc/llvm-project?rev=232854&view=rev
Tell lit.cfg about more Windows triples.
For example, the host triple on my 64-bit PC is x86_64-pc-windows-msvc.


Modified: llvm/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?rev=232854&r1=232853&r2=232854&view=diff
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Fri Mar 20 17:08:40 2015
@@ -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 ) )

More information about the llvm-commits mailing list