test: Fix binary stdin issues with coff-dump on Windows.

llvm-svn: 115908
This commit is contained in:
Michael J. Spencer 2010-10-07 06:29:21 +00:00
parent a2583ea9f2
commit efc22274cd
1 changed files with 4 additions and 1 deletions

View File

@ -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