aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Interpreter/InterpreterTest.cpp
diff options
context:
space:
mode:
authorStefan Gränitz <stefan.graenitz@gmail.com>2024-05-30 11:43:30 +0200
committerStefan Gränitz <stefan.graenitz@gmail.com>2024-05-30 11:52:15 +0200
commit4310988991b46c9a35f60abc27a08ee10309a50c (patch)
treec730d2ce7d7f6565f42aab4f819e1eb39d4b7ab3 /clang/unittests/Interpreter/InterpreterTest.cpp
parentb2bd024384b484647da9fd9863bf6f77b5731949 (diff)
downloadllvm-4310988991b46c9a35f60abc27a08ee10309a50c.zip
llvm-4310988991b46c9a35f60abc27a08ee10309a50c.tar.gz
llvm-4310988991b46c9a35f60abc27a08ee10309a50c.tar.bz2
[clang-repl] Even more tests create the Interpreter and must check host JIT support 2 (#84758)
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
-rw-r--r--clang/unittests/Interpreter/InterpreterTest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/unittests/Interpreter/InterpreterTest.cpp b/clang/unittests/Interpreter/InterpreterTest.cpp
index 86eeb4b..5294a4bc 100644
--- a/clang/unittests/Interpreter/InterpreterTest.cpp
+++ b/clang/unittests/Interpreter/InterpreterTest.cpp
@@ -74,7 +74,11 @@ static size_t DeclsSize(TranslationUnitDecl *PTUDecl) {
return std::distance(PTUDecl->decls().begin(), PTUDecl->decls().end());
}
+#ifdef CLANG_INTERPRETER_NO_SUPPORT_EXEC
+TEST(InterpreterTest, DISABLED_Sanity) {
+#else
TEST(InterpreterTest, Sanity) {
+#endif
if (!HostSupportsJit())
GTEST_SKIP();