Add getAsUnsignedInteger test case that checks that known bad values are rejected
[oota-llvm.git] / test / lit.cfg
index b7c5f3ef38c6af1ff705f6a1d60254019048b377..d81563373d07a9b9f7cc9f4b0f076947f8f73501 100644 (file)
@@ -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 re.search(r'mingw32|win32', mcjit_triple):
+  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