Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58e79345 authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "releasetools: Capture stderr output when calling delta_generator." am: 26fc64da

am: 1f49ccfd

Change-Id: I689d61b9ee186f01be4dd57a5cd1dbbdd530ea9b
parents 1e321d46 1f49ccfd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@ def VerifyAbOtaPayload(cert, package):
  cmd = ['delta_generator',
         '--in_file=' + payload_file,
         '--public_key=' + pubkey]
  proc = common.Run(cmd, stdout=subprocess.PIPE)
  proc = common.Run(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
  stdoutdata, _ = proc.communicate()
  assert proc.returncode == 0, \
      'Failed to verify payload with delta_generator: %s\n%s' % (package,