Many LLVM tests relies on standard output stream be in the binary mode. Which is not always the case (on Windows in particular). The patch adds a test to verify that the standard output stream is actually in the binary mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130936 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Galina Kistanova 2011-05-05 18:40:27 +00:00
parent d71867a8f4
commit 300c1a11c8

View File

@ -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 -