Bug 1233311 - Avoid python exception on Android cppunit time-out; r=jmaher

This commit is contained in:
Geoff Brown 2015-12-18 12:17:07 -07:00
parent 9d3f18e1e3
commit d447a96b27

View File

@ -171,7 +171,7 @@ class RemoteCPPUnitTests(cppunittests.CPPUnitTests):
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')