Bug 1524352 - [jittest] Improve ADBProcessError messages in run_test_remote, r=gbrown.
authorBob Clary <bclary@bclary.com>
Mon, 04 Feb 2019 09:45:28 -0800
changeset 456656 8a8810509cdb228f77e4fdfa5ef282ed42a91f74
parent 456655 d1f54669d8a66ebc8927cd0da1ad3a811b6e17de
child 456657 5ebaff11acf7584b1779af346d530f5e8f317b1f
push id35499
push userccoroiu@mozilla.com
push dateMon, 04 Feb 2019 21:42:59 +0000
treeherdermozilla-central@a27965fa7374 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgbrown
bugs1524352
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1524352 - [jittest] Improve ADBProcessError messages in run_test_remote, r=gbrown.
js/src/tests/lib/jittests.py
--- a/js/src/tests/lib/jittests.py
+++ b/js/src/tests/lib/jittests.py
@@ -429,18 +429,17 @@ def run_test_remote(test, device, prefix
     try:
         out = device.shell_output(cmd, env=env,
                                   cwd=options.remote_test_root,
                                   timeout=int(options.timeout))
         returncode = 0
     except ADBTimeoutError:
         raise
     except ADBProcessError as e:
-        out = e.adb_process.stdout
-        print("exception output: %s" % str(out))
+        out = str(e.adb_process.stdout)
         returncode = e.adb_process.exitcode
 
     elapsed = (datetime.now() - start).total_seconds()
 
     # We can't distinguish between stdout and stderr so we pass
     # the same buffer to both.
     return TestOutput(test, cmd, out, out, returncode, elapsed, False)