llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Abhinav Kumar (kr-2003)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/153005.diff


1 Files Affected:

- (modified) clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp (+8) 


``````````diff
diff --git a/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp 
b/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp
index 4d5ef5c70d135..1e261e786c2e8 100644
--- a/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp
+++ b/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp
@@ -134,6 +134,14 @@ TEST_F(InterpreterTestBase, SanityWithRemoteExecution) {
   if (!HostSupportsJIT())
     GTEST_SKIP();
 
+  llvm::Triple SystemTriple(llvm::sys::getProcessTriple());
+
+  // FIXME: In the future, support more platforms beyond linux-x86_64 and 
macOS.
+  if (!SystemTriple.isOSDarwin() && !SystemTriple.isOSLinux()) {
+    GTEST_SKIP()
+        << "Out-of-process interpreter only supports linux-x86_64 and macos";
+  }
+
   std::unique_ptr<Interpreter> Interp = createInterpreterWithRemoteExecution();
 
   using PTU = PartialTranslationUnit;

``````````

</details>


https://github.com/llvm/llvm-project/pull/153005
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to