[gm.py] Fix mksnapshot failure detection with Python3
No-Try: true Change-Id: Icfcf3c264968b6577165a6ef591892dd35c6f3dd Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3097272 Auto-Submit: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#76309}
This commit is contained in:
parent
816e9fa3b9
commit
2568174d23
@ -363,7 +363,7 @@ class Config(object):
|
||||
csa_trap = re.compile("Specify option( --csa-trap-on-node=[^ ]*)")
|
||||
match = csa_trap.search(output)
|
||||
extra_opt = match.group(1) if match else ""
|
||||
cmdline = re.compile("python ../../tools/run.py ./mksnapshot (.*)")
|
||||
cmdline = re.compile("python3 ../../tools/run.py ./mksnapshot (.*)")
|
||||
orig_cmdline = cmdline.search(output).group(1).strip()
|
||||
cmdline = PrepareMksnapshotCmdline(orig_cmdline, path) + extra_opt
|
||||
_Notify("V8 build requires your attention",
|
||||
|
Loading…
Reference in New Issue
Block a user