Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions lldb/test/API/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,15 @@ else()
endif()
endif()

find_program(LLDB_DIRNAME_PATH dirname)
if(LLDB_DIRNAME_PATH)
message(STATUS "Found dirname: ${LLDB_DIRNAME_PATH}")
else()
message(STATUS "Did not find 'dirname'.")
message(WARNING
"Many LLDB API tests require the 'dirname' tool. Please provide it in Path.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This warning message could be more generic and mention that tests require the coreutils.

endif()

if (TARGET clang)
set(LLDB_DEFAULT_TEST_COMPILER "${LLVM_TOOLS_BINARY_DIR}/clang${CMAKE_EXECUTABLE_SUFFIX}")
else()
Expand Down
Loading