Skip to content

Commit 1db1b8b

Browse files
committed
[lldb/Test] Don't add a check-* target as dependency in add_lit_testsuite
This causes the toplevel "test-depends" target, which should only build all the dependencies necessary for running tests, to suddenaly also run the check-lldb-repro-capture tests. Instead add check-lldb-repro-capture as a dependency to check-lldb-repro with a separate explicit add_dependencies call.
1 parent 6600766 commit 1db1b8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/test/Shell/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ add_lit_testsuite(check-lldb-repro
2828
"Running lldb shell test suite with reproducer replay"
2929
${CMAKE_CURRENT_BINARY_DIR}
3030
PARAMS "lldb-run-with-repro=capture"
31-
DEPENDS lldb-test-deps check-lldb-repro-capture)
31+
DEPENDS lldb-test-deps)
32+
add_dependencies(check-lldb-repro check-lldb-repro-capture)

0 commit comments

Comments
 (0)