[PATCH] D159213: [AIX][ClangRepl] Disable new tests on AIX

Jake Egan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 30 09:15:07 PDT 2023


Jake-Egan created this revision.
Herald added a project: All.
Jake-Egan requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159213

Files:
  clang/unittests/Interpreter/CodeCompletionTest.cpp


Index: clang/unittests/Interpreter/CodeCompletionTest.cpp
===================================================================
--- clang/unittests/Interpreter/CodeCompletionTest.cpp
+++ clang/unittests/Interpreter/CodeCompletionTest.cpp
@@ -50,7 +50,11 @@
   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 @@
   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 @@
   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));


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159213.554749.patch
Type: text/x-patch
Size: 1139 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230830/9606d072/attachment.bin>


More information about the cfe-commits mailing list