[PATCH] D81002: Fix individual tests with lit when building out of tree
Caroline via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 2 07:08:50 PDT 2020
CarolineConcatto created this revision.
Herald added subscribers: llvm-commits, mgorny.
Herald added a reviewer: DavidTruby.
Herald added a reviewer: sscalpone.
Herald added a project: LLVM.
CarolineConcatto added a reviewer: sameeranjoshi.
CarolineConcatto added a reviewer: tskeith.
Fix individual check tests with lit when building out-of-tree
check-flang-<folder> was not working.
The CMakeLists.txt was looking for the lit tests in the source directory
instead of the build directory.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D81002
Files:
flang/test/CMakeLists.txt
Index: flang/test/CMakeLists.txt
===================================================================
--- flang/test/CMakeLists.txt
+++ flang/test/CMakeLists.txt
@@ -32,7 +32,7 @@
)
set_target_properties(check-flang PROPERTIES FOLDER "Tests")
-add_lit_testsuites(FLANG ${CMAKE_CURRENT_SOURCE_DIR}
+add_lit_testsuites(FLANG ${CMAKE_CURRENT_BINARY_DIR}
PARAMS ${FLANG_TEST_PARAMS}
DEPENDS ${FLANG_TEST_DEPENDS})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81002.267869.patch
Type: text/x-patch
Size: 421 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200602/b5495e4b/attachment.bin>
More information about the llvm-commits
mailing list