<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 30, 2016 at 3:52 PM, Robinson, Paul <span dir="ltr"><<a href="mailto:paul.robinson@sony.com" target="_blank">paul.robinson@sony.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class=""><br>
<br>
> -----Original Message-----<br>
> From: cfe-commits [mailto:<a href="mailto:cfe-commits-bounces@lists.llvm.org">cfe-commits-bounces@lists.llvm.org</a>] On Behalf Of<br>
> Sean Silva via cfe-commits<br>
> Sent: Tuesday, June 28, 2016 5:29 PM<br>
> To: <a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a><br>
> Subject: r274084 - Revert "[PS4] Tighten up a test (noticed in passing)"<br>
><br>
> Author: silvas<br>
> Date: Tue Jun 28 19:29:23 2016<br>
> New Revision: 274084<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=274084&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=274084&view=rev</a><br>
> Log:<br>
> Revert "[PS4] Tighten up a test (noticed in passing)"<br>
><br>
> This reverts commit r269709.<br>
><br>
> r262285 changed this deliberately so that the test would not be<br>
> sensitive to which binaries are in the same directory as clang.<br>
> See the commit message of that commit for more background.<br>
<br>
</span>Okay, but the point of the test is to match a "file.exe" instead<br>
of just "file". See commentary at the top of the test.<br>
Also "orbis-ld" is a prefix of "orbis-ld.gold" and so matching<br>
just the former doesn't verify we're looking for the right one.<br>
<br>
I understand taking out the path part of the check in r262285 but<br>
if you named your test linker "orbis-ld.exe" instead of "orbis-ld"<br>
then the test would pass with r269709, right?</blockquote><div><br></div><div>Unfortunately not.</div><div><br></div><div>-- Sean Silva</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> If that's all this<br>
is about, please undo this revert and use the standard Windows<br>
file extension for your test linkers.<br>
--paulr<br>
<div class=""><div class="h5"><br>
><br>
> Modified:<br>
> cfe/trunk/test/Driver/ps4-linker-win.c<br>
><br>
> Modified: cfe/trunk/test/Driver/ps4-linker-win.c<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/ps4-linker-" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/ps4-linker-</a><br>
> win.c?rev=274084&r1=274083&r2=274084&view=diff<br>
> ==========================================================================<br>
> ====<br>
> --- cfe/trunk/test/Driver/ps4-linker-win.c (original)<br>
> +++ cfe/trunk/test/Driver/ps4-linker-win.c Tue Jun 28 19:29:23 2016<br>
> @@ -22,5 +22,5 @@<br>
> // RUN: env "PATH=%T;%PATH%;" %clang -target x86_64-scei-ps4 %s -shared<br>
> \<br>
> // RUN: -fuse-ld=ps4 -### 2>&1 | FileCheck --check-prefix=CHECK-PS4-<br>
> LINKER %s<br>
><br>
> -// CHECK-PS4-GOLD: \\orbis-ld.gold.exe"<br>
> -// CHECK-PS4-LINKER: \\orbis-ld.exe"<br>
> +// CHECK-PS4-GOLD: \\orbis-ld.gold<br>
> +// CHECK-PS4-LINKER: \\orbis-ld<br>
><br>
><br>
> _______________________________________________<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/mailman/listinfo/cfe-commits</a><br>
</div></div></blockquote></div><br></div></div>