diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-06-12 17:05:28 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-06-12 17:05:28 +0000 |
commit | 9c57c299218f7eb60c11ccb0b7bd86f36b99bf90 (patch) | |
tree | 506cc38bf43da6898c76fa227b6f13304cf2763d /test/Scripts | |
parent | 4fc9599b0e474abe3e8ea156abafb8aaf868d09a (diff) | |
download | external_llvm-9c57c299218f7eb60c11ccb0b7bd86f36b99bf90.zip external_llvm-9c57c299218f7eb60c11ccb0b7bd86f36b99bf90.tar.gz external_llvm-9c57c299218f7eb60c11ccb0b7bd86f36b99bf90.tar.bz2 |
tests: Run macho-dump with binary unbuffered streams on Windows, I can't find a Python 2.6 way to change stdin to binary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Scripts')
-rw-r--r-- | test/Scripts/macho-dump.bat | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Scripts/macho-dump.bat b/test/Scripts/macho-dump.bat index 94859f9..81484f6 100644 --- a/test/Scripts/macho-dump.bat +++ b/test/Scripts/macho-dump.bat @@ -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 |