aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Interpreter/InterpreterTest.cpp
diff options
context:
space:
mode:
authorSteven Wan <wanyu9511@gmail.com>2021-11-11 14:10:37 -0500
committerSteven Wan <wanyu9511@gmail.com>2021-11-11 14:10:42 -0500
commit42102bce98e527f994a7bc68b2255d9e0462f6eb (patch)
tree9a6117f1aed337df35430878e0a1ac381a7beeea /clang/unittests/Interpreter/InterpreterTest.cpp
parent99152a4164abf377d2971364107a96f1f424eef9 (diff)
downloadllvm-42102bce98e527f994a7bc68b2255d9e0462f6eb.zip
llvm-42102bce98e527f994a7bc68b2255d9e0462f6eb.tar.gz
llvm-42102bce98e527f994a7bc68b2255d9e0462f6eb.tar.bz2
[AIX][NFC] Disable clang-repl tests failing due to lack of 64-bit XCOFF support.
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 for the time being. Reviewed By: Jake-Egan Differential Revision: https://reviews.llvm.org/D113614
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
-rw-r--r--clang/unittests/Interpreter/InterpreterTest.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/unittests/Interpreter/InterpreterTest.cpp b/clang/unittests/Interpreter/InterpreterTest.cpp
index 0f02935..742aa49 100644
--- a/clang/unittests/Interpreter/InterpreterTest.cpp
+++ b/clang/unittests/Interpreter/InterpreterTest.cpp
@@ -145,7 +145,11 @@ struct LLVMInitRAII {
~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 @@ static NamedDecl *LookupSingleName(Interpreter &Interp, const char *Name) {
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.