<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 20, 2017 at 5:20 PM, Zachary Turner via cfe-commits <span dir="ltr"><<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: zturner<br>
Date: Mon Nov 20 17:20:28 2017<br>
New Revision: 318722<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=318722&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project?rev=318722&view=rev</a><br>
Log:<br>
Re-revert "Refactor debuginfo-tests."<br>
<br>
This is still breaking greendragon.<br>
<br>
At this point I give up until someone can fix the greendragon<br>
bots, and I will probably abandon this effort in favor of using<br>
a private github repository.<br>
<br>
Modified:<br>
cfe/trunk/test/CMakeLists.txt<br>
cfe/trunk/test/<a href="http://lit.cfg.py" rel="noreferrer" target="_blank">lit.cfg.py</a><br>
<br>
Modified: cfe/trunk/test/CMakeLists.txt<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CMakeLists.txt?rev=318722&r1=318721&r2=318722&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/cfe/trunk/test/<wbr>CMakeLists.txt?rev=318722&r1=<wbr>318721&r2=318722&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- cfe/trunk/test/CMakeLists.txt (original)<br>
+++ cfe/trunk/test/CMakeLists.txt Mon Nov 20 17:20:28 2017<br>
@@ -88,14 +88,6 @@ set(CLANG_TEST_PARAMS<br>
clang_site_config=${CMAKE_<wbr>CURRENT_BINARY_DIR}/lit.site.<wbr>cfg<br>
)<br>
<br>
-if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/<wbr>debuginfo-tests/CMakeLists.<wbr>txt")<br>
- # This is a hack to keep existing build build infrastructure working while we<br>
- # can migrate to the new standard workflow of checking out debuginfo-tests into<br>
- # llvm/projects or using it in a mono-repo<br>
- set(DEBUGINFO_TESTS_EXCLUDE_<wbr>FROM_ALL ON)<br>
- add_subdirectory(debuginfo-<wbr>tests)<br>
-endif()<br>
-<br></blockquote><div><br></div><div>I think this is your problem. Essentially, you are adding the tests twice, once by recursing tree (this is the original behavior and picks up all the tests in the new test subdir), and once explicitly by including the debuginfo-tests subdirectory, which has a CMakeLists.txt file that adds the tests again. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
if( NOT CLANG_BUILT_STANDALONE )<br>
list(APPEND CLANG_TEST_DEPS<br>
llvm-config<br>
<br>
Modified: cfe/trunk/test/<a href="http://lit.cfg.py" rel="noreferrer" target="_blank">lit.cfg.py</a><br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg.py?rev=318722&r1=318721&r2=318722&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/cfe/trunk/test/lit.<wbr>cfg.py?rev=318722&r1=318721&<wbr>r2=318722&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- cfe/trunk/test/<a href="http://lit.cfg.py" rel="noreferrer" target="_blank">lit.cfg.py</a> (original)<br>
+++ cfe/trunk/test/<a href="http://lit.cfg.py" rel="noreferrer" target="_blank">lit.cfg.py</a> Mon Nov 20 17:20:28 2017<br>
@@ -58,6 +58,8 @@ tool_dirs = [config.clang_tools_dir, con<br>
<br>
tools = [<br>
'c-index-test', 'clang-check', 'clang-diff', 'clang-format', 'opt',<br>
+ ToolSubst('%test_debuginfo', command=os.path.join(<br>
+ config.llvm_src_root, 'utils', '<a href="http://test_debuginfo.pl" rel="noreferrer" target="_blank">test_debuginfo.pl</a>')),<br>
ToolSubst('%clang_func_map', command=FindTool(<br>
'clang-func-mapping'), unresolved='ignore'),<br>
]<br>
<br>
<br>
______________________________<wbr>_________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div></div>