1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

tests: Run macho-dump with binary unbuffered streams on Windows, I can't find a Python 2.6 way to change stdin to binary.

llvm-svn: 105894
This commit is contained in:
Daniel Dunbar 2010-06-12 17:05:28 +00:00
parent 77025c3891
commit 3d95bf4fc2

View File

@ -1,7 +1,7 @@
@echo off
@rem The -t here is just to avoid infinite looping if %PYTHON_EXECUTABLE% isn't set
@rem for some reason.
@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% -t %LLVM_SRC_ROOT%\test\Scripts\macho-dump %1 %2 %3 %4 %5 %6 %7 %8 %9
%PYTHON_EXECUTABLE% -u %LLVM_SRC_ROOT%\test\Scripts\macho-dump %1 %2 %3 %4 %5 %6 %7 %8 %9