<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 1/4/2018 4:51 PM, Adrian McCarthy
via llvm-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAL0iCSL3MX30cta+Vz0RRcx8=aZ40K1bV8zy1qOkXJyYrUT-Sg@mail.gmail.com">
<div dir="ltr">I tried to land a small fix before going on
vacation at the end of the year, but I had to revert it because
it broke on a few of the build bots, specifically
clang-cmake-thumbv7-a15, clang-cmake-armv7-a15, and
llvm-hexagon-elf.
<div><br>
</div>
<div><a href="https://reviews.llvm.org/D41264"
moz-do-not-send="true">https://reviews.llvm.org/D41264</a><br>
</div>
</div>
</blockquote>
<br>
I think you meant to put the test into test/DebugInfo/X86/ ? Your
test specifies an x86 target, but those buildbots don't build the
x86 target.<br>
<br>
<blockquote type="cite"
cite="mid:CAL0iCSL3MX30cta+Vz0RRcx8=aZ40K1bV8zy1qOkXJyYrUT-Sg@mail.gmail.com">
<div dir="ltr">
<div><br>
</div>
<div>It seemed to work as expected on the others.</div>
<div><br>
</div>
<div>Unfortunately, the build logs don't give many clues. The
fix included a new test, and that test failed with an exit
code of 1 but with no messages. For example:</div>
<div>
<pre wrap="">
</pre>
<pre style="text-align:start;text-indent:0px;text-decoration-style:initial;text-decoration-color:initial"><span class="gmail-stdout" style=""><font style="color:black;font-family:"Courier New",courier,monotype,monospace;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-transform:none;word-spacing:0px" size="1"><pre style="font-family:"Courier New",courier,monotype,monospace;color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><span class="gmail-stdout" style="font-family:"Courier New",courier,monotype,monospace;color:black">FAIL: LLVM :: DebugInfo/void-typedef.ll (14416 of 23113)
******************** TEST 'LLVM :: DebugInfo/void-typedef.ll' FAILED ********************
Script:
--
/local/buildbot/slaves/hexagon-build-02/llvm-hexagon-elf/llvm.obj/bin/llc /local/buildbot/slaves/hexagon-build-02/llvm-hexagon-elf/llvm.src/test/DebugInfo/void-typedef.ll -o - 2>&1 | /local/buildbot/slaves/hexagon-build-02/llvm-hexagon-elf/llvm.obj/bin/FileCheck /local/buildbot/slaves/hexagon-build-02/llvm-hexagon-elf/llvm.src/test/DebugInfo/void-typedef.ll
--
Exit Code: 1
********************</span></pre></font></span></pre>
</div>
</div>
</blockquote>
<br>
llc is probably producing some error message like "error: unable to
get target for 'i686', see --version and --triple.", but you're
redirecting stderr, so it isn't visible. You should try to avoid
this when possible.<br>
<br>
Your test doesn't have any positive CHECK lines, so FileCheck
passes. You should generally try to include some positive CHECK
line in regression tests. And you never need to check for the
string "Assertion failed"; the test will fail if any command on the
RUN line fails or crashes.<br>
<br>
-Eli<br>
<pre class="moz-signature" cols="72">--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project</pre>
</body>
</html>