Author: Jake Egan Date: 2023-08-30T21:36:07-04:00 New Revision: 86337beca2e6f939127cd3e088ec80c0cf4a0a64
URL: https://github.com/llvm/llvm-project/commit/86337beca2e6f939127cd3e088ec80c0cf4a0a64 DIFF: https://github.com/llvm/llvm-project/commit/86337beca2e6f939127cd3e088ec80c0cf4a0a64.diff LOG: [AIX][ClangRepl] Disable new tests on AIX These newly added tests fail on AIX with error `LLVM ERROR: Incompatible object format!`. Disable them for now while we investigate. Reviewed By: capfredf, shchenz Differential Revision: https://reviews.llvm.org/D159213 Added: Modified: clang/unittests/Interpreter/CodeCompletionTest.cpp Removed: ################################################################################ diff --git a/clang/unittests/Interpreter/CodeCompletionTest.cpp b/clang/unittests/Interpreter/CodeCompletionTest.cpp index d616afebc7d004..8f5f3545029d08 100644 --- a/clang/unittests/Interpreter/CodeCompletionTest.cpp +++ b/clang/unittests/Interpreter/CodeCompletionTest.cpp @@ -50,7 +50,11 @@ static std::vector<std::string> runComp(clang::Interpreter &MainInterp, return Comps; } +#ifdef _AIX +TEST(CodeCompletionTest, DISABLED_Sanity) { +#else TEST(CodeCompletionTest, Sanity) { +#endif auto Interp = createInterpreter(); if (auto R = Interp->ParseAndExecute("int foo = 12;")) { consumeError(std::move(R)); @@ -63,7 +67,11 @@ TEST(CodeCompletionTest, Sanity) { EXPECT_EQ((bool)Err, false); } +#ifdef _AIX +TEST(CodeCompletionTest, DISABLED_SanityNoneValid) { +#else TEST(CodeCompletionTest, SanityNoneValid) { +#endif auto Interp = createInterpreter(); if (auto R = Interp->ParseAndExecute("int foo = 12;")) { consumeError(std::move(R)); @@ -75,7 +83,11 @@ TEST(CodeCompletionTest, SanityNoneValid) { EXPECT_EQ((bool)Err, false); } +#ifdef _AIX +TEST(CodeCompletionTest, DISABLED_TwoDecls) { +#else TEST(CodeCompletionTest, TwoDecls) { +#endif auto Interp = createInterpreter(); if (auto R = Interp->ParseAndExecute("int application = 12;")) { consumeError(std::move(R)); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits