Bug 1233311 - Avoid python exception on Android cppunit time-out; r=jmaher
authorGeoff Brown <gbrown@mozilla.com>
Fri, 18 Dec 2015 12:17:07 -0700
changeset 277053 ea5ffb7d046931176a1f981caf75f79eebff676e
parent 277052 cf947522f851039a66ec1c59bf61f2589972c5c0
child 277054 cdc2bfed4faad7297f1ccf100a62b859a301563f
push id16724
push usercbook@mozilla.com
push dateMon, 21 Dec 2015 11:00:52 +0000
treeherderfx-team@3f3f0361567c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1233311
milestone46.0a1
Bug 1233311 - Avoid python exception on Android cppunit time-out; r=jmaher
testing/remotecppunittests.py
--- a/testing/remotecppunittests.py
+++ b/testing/remotecppunittests.py
@@ -166,17 +166,17 @@ class RemoteCPPUnitTests(cppunittests.CP
             self.device.getDirectory(self.remote_home_dir, tempdir)
             if mozcrash.check_for_crashes(tempdir, symbols_path,
                                           test_name=basename):
                 self.log.test_end(basename, status='CRASH', expected='PASS')
                 return False
         result = returncode == 0
         if not result:
             self.log.test_end(basename, status='FAIL', expected='PASS',
-                              message=("test failed with return code %d" %
+                              message=("test failed with return code %s" %
                                        returncode))
         else:
             self.log.test_end(basename, status='PASS', expected='PASS')
         return result
 
 class RemoteCPPUnittestOptions(cppunittests.CPPUnittestOptions):
     def __init__(self):
         cppunittests.CPPUnittestOptions.__init__(self)