diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-10-07 06:29:21 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-10-07 06:29:21 +0000 |
commit | 68a1a9bff71bbdb4b29067d51b57fe2de4daa80a (patch) | |
tree | f6cf8a510e23f3c3299301c8183cf60dbc80176a /test/Scripts | |
parent | ee56ea62431081a2333eb47df3fa4dfcd425cb54 (diff) | |
download | llvm-68a1a9bff71bbdb4b29067d51b57fe2de4daa80a.tar.gz llvm-68a1a9bff71bbdb4b29067d51b57fe2de4daa80a.tar.bz2 llvm-68a1a9bff71bbdb4b29067d51b57fe2de4daa80a.tar.xz |
test: Fix binary stdin issues with coff-dump on Windows.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115908 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Scripts')
-rw-r--r-- | test/Scripts/coff-dump.py.bat | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Scripts/coff-dump.py.bat b/test/Scripts/coff-dump.py.bat index cc83eba1c4..56428e1a60 100644 --- a/test/Scripts/coff-dump.py.bat +++ b/test/Scripts/coff-dump.py.bat @@ -1,4 +1,7 @@ @echo off -%PYTHON_EXECUTABLE% %LLVM_SRC_ROOT%\test\Scripts\coff-dump.py %1 %2 %3 %4 %5 %6 %7 %8 %9 +@rem We need to set -u to treat stdin as binary. Python 3 has support for doing +@rem this in code, but I haven't found a way to do this in 2.6 yet. + +%PYTHON_EXECUTABLE% -u %LLVM_SRC_ROOT%\test\Scripts\coff-dump.py %1 %2 %3 %4 %5 %6 %7 %8 %9 |