summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-06-21 07:23:14 +0000
committerManuel Klimek <klimek@google.com>2013-06-21 07:23:14 +0000
commitbc735ecbbca58a7c7bd719ad3d42270d0900745f (patch)
treed262b97c86fed73fcf606a2576ac5a9f023492e9 /test
parent3b5714de9db729d2bd82754005f3e1d2ca400f57 (diff)
downloadllvm-bc735ecbbca58a7c7bd719ad3d42270d0900745f.tar.gz
llvm-bc735ecbbca58a7c7bd719ad3d42270d0900745f.tar.bz2
llvm-bc735ecbbca58a7c7bd719ad3d42270d0900745f.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184535 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Archive/directory.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Archive/directory.ll b/test/Archive/directory.ll
index 2975345226..336d218fd0 100644
--- a/test/Archive/directory.ll
+++ b/test/Archive/directory.ll
@@ -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