[llvm] r184535 - Fix an ordering problem in the test.

Manuel Klimek klimek at google.com
Fri Jun 21 00:23:14 PDT 2013


Author: klimek
Date: Fri Jun 21 02:23:14 2013
New Revision: 184535

URL: http://llvm.org/viewvc/llvm-project?rev=184535&view=rev
Log:
Fix an ordering problem in the test.

The output can be in different orders, which breaks the test in some
situations. I have not yet found out what the root cause of the order
difference is. This fixes our internal build. If it is not the right
solution, feel free to roll back.

Modified:
    llvm/trunk/test/Archive/directory.ll

Modified: llvm/trunk/test/Archive/directory.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/directory.ll?rev=184535&r1=184534&r2=184535&view=diff
==============================================================================
--- llvm/trunk/test/Archive/directory.ll (original)
+++ llvm/trunk/test/Archive/directory.ll Fri Jun 21 02:23:14 2013
@@ -5,7 +5,7 @@
 ;RUN: touch %T/a-very-long-file-name
 ;RUN: llvm-ar r %T/test.a %s %T/a-very-long-file-name
 ;RUN: llvm-ar r %T/test.a %T/a-very-long-file-name
-;RUN: llvm-ar t %T/test.a | FileCheck -check-prefix=MEMBERS %s
+;RUN: llvm-ar t %T/test.a | sort | FileCheck -check-prefix=MEMBERS %s
 ;MEMBERS-NOT: /
 ;MEMBERS: a-very-long-file-name
 ;MEMBERS: directory.ll





More information about the llvm-commits mailing list