XFAIL the LLI remote JIT tests on Win32.
[oota-llvm.git] / tools / lli / lli.cpp
index b83a1a86e0d325240cd1bf5abb07f6dd10b905b8..67e7cbd7686abfb5dc527098dedf853e8ad4b796 100644 (file)
@@ -583,13 +583,11 @@ int main(int argc, char **argv, char * const *envp) {
 
   // Sanity check use of remote-jit: LLI currently only supports use of the
   // remote JIT on Unix platforms.
-  // FIXME: Remove this pointless fallback mode which causes tests to "pass"
-  // on platforms where they should XFAIL.
   if (RemoteMCJIT) {
 #ifndef LLVM_ON_UNIX
     errs() << "Warning: host does not support external remote targets.\n"
            << "  Defaulting to local execution execution\n";
-    RemoteMCJIT = false;
+    return -1;
 #else
     if (ChildExecPath.empty()) {
       errs() << "-remote-mcjit requires -mcjit-remote-process.\n";