stevewan created this revision. stevewan requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
The following interpreter tests failed on AIX because 64-bit XCOFF object files are currently not supported on AIX. This patch disables the tests on AIX. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D113614 Files: clang/unittests/Interpreter/InterpreterTest.cpp Index: clang/unittests/Interpreter/InterpreterTest.cpp =================================================================== --- clang/unittests/Interpreter/InterpreterTest.cpp +++ clang/unittests/Interpreter/InterpreterTest.cpp @@ -145,7 +145,11 @@ ~LLVMInitRAII() { llvm::llvm_shutdown(); } } LLVMInit; +#ifdef _AIX +TEST(IncrementalProcessing, DISABLED_FindMangledNameSymbol) { +#else TEST(IncrementalProcessing, FindMangledNameSymbol) { +#endif std::unique_ptr<Interpreter> Interp = createInterpreter(); @@ -201,7 +205,11 @@ return R.getFoundDecl(); } +#ifdef _AIX +TEST(IncrementalProcessing, DISABLED_InstantiateTemplate) { +#else TEST(IncrementalProcessing, InstantiateTemplate) { +#endif // FIXME: We cannot yet handle delayed template parsing. If we run with // -fdelayed-template-parsing we try adding the newly created decl to the // active PTU which causes an assert.
Index: clang/unittests/Interpreter/InterpreterTest.cpp =================================================================== --- clang/unittests/Interpreter/InterpreterTest.cpp +++ clang/unittests/Interpreter/InterpreterTest.cpp @@ -145,7 +145,11 @@ ~LLVMInitRAII() { llvm::llvm_shutdown(); } } LLVMInit; +#ifdef _AIX +TEST(IncrementalProcessing, DISABLED_FindMangledNameSymbol) { +#else TEST(IncrementalProcessing, FindMangledNameSymbol) { +#endif std::unique_ptr<Interpreter> Interp = createInterpreter(); @@ -201,7 +205,11 @@ return R.getFoundDecl(); } +#ifdef _AIX +TEST(IncrementalProcessing, DISABLED_InstantiateTemplate) { +#else TEST(IncrementalProcessing, InstantiateTemplate) { +#endif // FIXME: We cannot yet handle delayed template parsing. If we run with // -fdelayed-template-parsing we try adding the newly created decl to the // active PTU which causes an assert.
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits