From 1d93d481526512dbcdeae9848afff6251d261f06 Mon Sep 17 00:00:00 2001 From: Galina Kistanova Date: Thu, 5 May 2011 18:40:27 +0000 Subject: [PATCH] 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. llvm-svn: 130936 --- test/Archive/check_binary_output.ll | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/Archive/check_binary_output.ll 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 -