Skip to content

Commit 79e5309

Browse files
author
git apple-llvm automerger
committed
Merge commit '8f9eb7035344' from llvm.org/master into apple/master
2 parents caf90aa + 8f9eb70 commit 79e5309

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

lldb/unittests/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ function(add_lldb_unittest test_name)
3333
"LINK_LIBS;LINK_COMPONENTS"
3434
${ARGN})
3535

36+
if (NOT ${test_name} MATCHES "Tests$")
37+
message(FATAL_ERROR "Unit test name must end with 'Tests' for lit to find it.")
38+
endif()
39+
3640
list(APPEND LLVM_LINK_COMPONENTS ${ARG_LINK_COMPONENTS})
3741

3842
add_unittest(LLDBUnitTests

lldb/unittests/Platform/Android/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include_directories(${LLDB_SOURCE_DIR}/source/Plugins/Platform/Android)
22

3-
add_lldb_unittest(AdbClientTest
3+
add_lldb_unittest(AdbClientTests
44
AdbClientTest.cpp
55

66
LINK_LIBS

lldb/unittests/Process/Linux/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include_directories(${LLDB_SOURCE_DIR}/source/Plugins/Process/Linux)
22

3-
add_lldb_unittest(ProcessorTraceTest
3+
add_lldb_unittest(ProcessorTraceTests
44
ProcessorTraceTest.cpp
55

66
LINK_LIBS

lldb/unittests/Process/POSIX/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include_directories(${LLDB_SOURCE_DIR}/source/Plugins/Process/POSIX)
22

3-
add_lldb_unittest(ProcessPOSIXTest
3+
add_lldb_unittest(ProcessPOSIXTests
44
NativeProcessELFTest.cpp
55

66
LINK_LIBS

0 commit comments

Comments
 (0)