Skip to content

Commit d72c8cc

Browse files
committed
Disable DetectResourceDir unittest
This test is targeted for when CppInterOp is shipped externally
1 parent 169f56b commit d72c8cc

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Diff for: interpreter/CppInterOp/unittests/CppInterOp/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ target_link_libraries(DynamicLibraryManagerTests
3737
clangCppInterOp
3838
)
3939

40-
set_output_directory(DynamicLibraryManagerTests BINARY_DIR ${CMAKE_BINARY_DIR}/unittests/bin/$<CONFIG>/)
40+
set_output_directory(DynamicLibraryManagerTests BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/TestSharedLib/unittests/bin/$<CONFIG>/)
4141

4242
add_dependencies(DynamicLibraryManagerTests TestSharedLib)
4343
#export_executable_symbols_for_plugins(TestSharedLib)

Diff for: interpreter/CppInterOp/unittests/CppInterOp/InterpreterTest.cpp

+1-4
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,8 @@ TEST(InterpreterTest, CreateInterpreter) {
110110
EXPECT_FALSE(Cpp::GetNamed("cppUnknown"));
111111
}
112112

113-
#ifdef LLVM_BINARY_DIR
114-
TEST(InterpreterTest, DetectResourceDir) {
115-
#else
113+
116114
TEST(InterpreterTest, DISABLED_DetectResourceDir) {
117-
#endif // LLVM_BINARY_DIR
118115
#ifdef _WIN32
119116
GTEST_SKIP() << "Disabled on Windows. Needs fixing.";
120117
#endif

0 commit comments

Comments
 (0)