From: Galina Kistanova Date: Thu, 5 May 2011 18:40:27 +0000 (+0000) Subject: Many LLVM tests relies on standard output stream be in the binary mode. Which is... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=300c1a11c8034e48dd343c89594bc320eb7ba0ae;p=oota-llvm.git 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 --- diff --git a/test/Archive/check_binary_output.ll b/test/Archive/check_binary_output.ll new file mode 100644 index 00000000000..60ab5caac45 --- /dev/null +++ b/test/Archive/check_binary_output.ll @@ -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 -