[libunwind] Make the test depend on the libunwind explicitly.
authorDaniel Kiss <daniel.kiss@arm.com>
Mon, 3 Aug 2020 07:40:35 +0000 (09:40 +0200)
committerDaniel Kiss <daniel.kiss@arm.com>
Mon, 3 Aug 2020 07:46:23 +0000 (09:46 +0200)
Before this patch the `ninja check-unwind` won't rebuild the unwind library.

Reviewed By: jroelofs

Differential Revision: https://reviews.llvm.org/D85004

libunwind/test/CMakeLists.txt

index 794a59f..2b945e6 100644 (file)
@@ -32,4 +32,4 @@ configure_lit_site_cfg(
 
 add_lit_testsuite(check-unwind "Running libunwind tests"
   ${CMAKE_CURRENT_BINARY_DIR}
-  DEPENDS ${LIBUNWIND_TEST_DEPS})
+  DEPENDS unwind ${LIBUNWIND_TEST_DEPS})