Many LLVM tests relies on standard output stream be in the binary mode. Which is...
authorGalina Kistanova <gkistanova@gmail.com>
Thu, 5 May 2011 18:40:27 +0000 (18:40 +0000)
committerGalina Kistanova <gkistanova@gmail.com>
Thu, 5 May 2011 18:40:27 +0000 (18:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130936 91177308-0d34-0410-b5e6-96231b3b80d8

test/Archive/check_binary_output.ll [new file with mode: 0644]

diff --git a/test/Archive/check_binary_output.ll b/test/Archive/check_binary_output.ll
new file mode 100644 (file)
index 0000000..60ab5ca
--- /dev/null
@@ -0,0 +1,4 @@
+; This is not an assembly file, this is just to run the test.
+; The test verifies that llvm-ar produces a binary output.
+
+;RUN: llvm-ar p %p/GNU.a very_long_bytecode_file_name.bc | cmp -s %p/very_long_bytecode_file_name.bc -