[clang] [clang-repl] Skip tests for non-linux and non-darwin platforms from #152562 (PR #153005)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 11 06:37:22 PDT 2025
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
More information about the cfe-commits
mailing list