diff options
author | Galina Kistanova <gkistanova@gmail.com> | 2011-05-05 18:40:27 +0000 |
---|---|---|
committer | Galina Kistanova <gkistanova@gmail.com> | 2011-05-05 18:40:27 +0000 |
commit | 300c1a11c8034e48dd343c89594bc320eb7ba0ae (patch) | |
tree | f855b7314a725a1557ad8da3eacc0f41a2400ae5 /test | |
parent | d71867a8f4b1ab6ab8cc8f5b1a732184ec5bad1b (diff) | |
download | external_llvm-300c1a11c8034e48dd343c89594bc320eb7ba0ae.zip external_llvm-300c1a11c8034e48dd343c89594bc320eb7ba0ae.tar.gz external_llvm-300c1a11c8034e48dd343c89594bc320eb7ba0ae.tar.bz2 |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/Archive/check_binary_output.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Archive/check_binary_output.ll b/test/Archive/check_binary_output.ll new file mode 100644 index 0000000..60ab5ca --- /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 - |