<p dir="ltr">Moo<br>
On Jun 21, 2013 12:26 AM, "Manuel Klimek" <<a href="mailto:klimek@google.com">klimek@google.com</a>> wrote:<br>
><br>
> Author: klimek<br>
> Date: Fri Jun 21 02:23:14 2013<br>
> New Revision: 184535<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=184535&view=rev">http://llvm.org/viewvc/llvm-project?rev=184535&view=rev</a><br>
> Log:<br>
> Fix an ordering problem in the test.<br>
><br>
> The output can be in different orders, which breaks the test in some<br>
> situations. I have not yet found out what the root cause of the order<br>
> difference is. This fixes our internal build. If it is not the right<br>
> solution, feel free to roll back.</p>
<p dir="ltr">I have the distinct impression we've seen similar directory listing ordering bugs before and fixed them in code by sorting the listing or some other approach (rather than by changing tests)</p>
<p dir="ltr">><br>
> Modified:<br>
>     llvm/trunk/test/Archive/directory.ll<br>
><br>
> Modified: llvm/trunk/test/Archive/directory.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/directory.ll?rev=184535&r1=184534&r2=184535&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/directory.ll?rev=184535&r1=184534&r2=184535&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/Archive/directory.ll (original)<br>
> +++ llvm/trunk/test/Archive/directory.ll Fri Jun 21 02:23:14 2013<br>
> @@ -5,7 +5,7 @@<br>
>  ;RUN: touch %T/a-very-long-file-name<br>
>  ;RUN: llvm-ar r %T/test.a %s %T/a-very-long-file-name<br>
>  ;RUN: llvm-ar r %T/test.a %T/a-very-long-file-name<br>
> -;RUN: llvm-ar t %T/test.a | FileCheck -check-prefix=MEMBERS %s<br>
> +;RUN: llvm-ar t %T/test.a | sort | FileCheck -check-prefix=MEMBERS %s<br>
>  ;MEMBERS-NOT: /<br>
>  ;MEMBERS: a-very-long-file-name<br>
>  ;MEMBERS: directory.ll<br>
><br>
><br>
> _______________________________________________<br>
> llvm-commits mailing list<br>
> <a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</p>