[llvm-commits] [llvm] r130936 - /llvm/trunk/test/Archive/check_binary_output.ll

Galina Kistanova gkistanova at gmail.com
Thu May 5 11:40:27 PDT 2011


Author: gkistanova
Date: Thu May  5 13:40:27 2011
New Revision: 130936

URL: http://llvm.org/viewvc/llvm-project?rev=130936&view=rev
Log:
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.

Added:
    llvm/trunk/test/Archive/check_binary_output.ll

Added: llvm/trunk/test/Archive/check_binary_output.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/check_binary_output.ll?rev=130936&view=auto
==============================================================================
--- llvm/trunk/test/Archive/check_binary_output.ll (added)
+++ llvm/trunk/test/Archive/check_binary_output.ll Thu May  5 13:40:27 2011
@@ -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 -





More information about the llvm-commits mailing list