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 | efc22274cd4e22552b2cc9fddaa218fa0a21ff32 (patch) | |
| tree | 09731e5ee9de2b7f5c38c230d86ad9414474af14 /llvm/test | |
| parent | a2583ea9f29bb68f65f67c7228840bbfe5b67d81 (diff) | |
| download | bcm5719-llvm-efc22274cd4e22552b2cc9fddaa218fa0a21ff32.tar.gz bcm5719-llvm-efc22274cd4e22552b2cc9fddaa218fa0a21ff32.zip | |
test: Fix binary stdin issues with coff-dump on Windows.
llvm-svn: 115908
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/Scripts/coff-dump.py.bat | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/Scripts/coff-dump.py.bat b/llvm/test/Scripts/coff-dump.py.bat index cc83eba1c44..56428e1a605 100644 --- a/llvm/test/Scripts/coff-dump.py.bat +++ b/llvm/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 |

