tests: Make macho-dump.bat actually work.
authorDaniel Dunbar <daniel@zuster.org>
Sat, 12 Jun 2010 16:21:54 +0000 (16:21 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 12 Jun 2010 16:21:54 +0000 (16:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105891 91177308-0d34-0410-b5e6-96231b3b80d8

test/Scripts/macho-dump.bat

index e43c521f539481e0a2db7a35f74624547e9fed28..94859f9115b6f13f9d8b242cc6c317959cef0d02 100644 (file)
@@ -1,3 +1,7 @@
 @echo off
-macho-dump %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+@rem The -t here is just to avoid infinite looping if %PYTHON_EXECUTABLE% isn't set
+@rem for some reason.
+
+%PYTHON_EXECUTABLE% -t %LLVM_SRC_ROOT%\test\Scripts\macho-dump %1 %2 %3 %4 %5 %6 %7 %8 %9