From: Reid Kleckner Date: Fri, 9 Oct 2015 16:49:56 +0000 (+0000) Subject: Fix pdb.test when python is not on PATH X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9352676b659d7c08af7a907f75e5c00ad84f2ff8;p=oota-llvm.git Fix pdb.test when python is not on PATH git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249847 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/llvm-symbolizer/pdb/pdb.test b/test/tools/llvm-symbolizer/pdb/pdb.test index 3f5dbc30218..fd058fbbee3 100644 --- a/test/tools/llvm-symbolizer/pdb/pdb.test +++ b/test/tools/llvm-symbolizer/pdb/pdb.test @@ -9,7 +9,7 @@ Subtract ImageBase from all the offsets and run the test again with --relative-address. RUN: grep '^ADDR:' %s | sed -s 's/ADDR: //' \ -RUN: | python -c 'import sys;print "\n".join([hex(int(x, 16) - 0x400000) for x in sys.stdin])' \ +RUN: | %python -c 'import sys;print "\n".join([hex(int(x, 16) - 0x400000) for x in sys.stdin])' \ RUN: | llvm-symbolizer -obj="%p/Inputs/test.exe" -demangle=false --relative-address \ RUN: | FileCheck %s --check-prefix=CHECK-NO-DEMANGLE