Skip to content

Commit 9226417

Browse files
author
kr-2003
committed
testing
1 parent 7fe98d3 commit 9226417

File tree

2 files changed

+4
-18
lines changed

2 files changed

+4
-18
lines changed

clang/unittests/Interpreter/CMakeLists.txt

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,10 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm64" AND CMAKE_SYSTEM_NAME STREQUAL "Da
4141
endif()
4242

4343
if(DEFINED _orc_rt_target)
44-
if(TARGET ${_orc_rt_target})
45-
add_dependencies(ClangReplInterpreterTests
46-
llvm-jitlink-executor
47-
${_orc_rt_target}
48-
)
49-
else()
50-
add_dependencies(ClangReplInterpreterTests
51-
llvm-jitlink-executor
52-
)
53-
endif()
44+
add_dependencies(ClangReplInterpreterTests
45+
llvm-jitlink-executor
46+
${_orc_rt_target}
47+
)
5448
endif()
5549

5650
# Exceptions on Windows are not yet supported.

clang/unittests/Interpreter/InterpreterTest.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,6 @@ TEST_F(InterpreterTest, SanityWithRemoteExecution) {
180180

181181
std::string OrcRuntimePath = getOrcRuntimePath();
182182

183-
if (llvm::sys::fs::exists(OrcRuntimePath)) {
184-
std::cout << "Using Orc Runtime Path: " << OrcRuntimePath << "\n";
185-
} else {
186-
std::cerr << "Orc Runtime Path does not exist: " << OrcRuntimePath
187-
<< std::endl;
188-
GTEST_SKIP();
189-
}
190-
191183
std::unique_ptr<Interpreter> Interp = createInterpreterWithRemoteExecution();
192184

193185
using PTU = PartialTranslationUnit;

0 commit comments

Comments
 (0)