Bug 718271 - Use TEST-UNEXPECTED-FAIL instead of TEST-UNEXPECTED-ERROR; r=jmaher
authorMs2ger <ms2ger@gmail.com>
Wed, 25 Jan 2012 08:50:04 +0100
changeset 86431 4b1abacde2fd3c1da25be58bb84229042739f0c8
parent 86430 048568c7684f7e0381cdddbe091bbc58216194b4
child 86432 0e4cd20fd801eec51d651efcaae334cab655098d
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs718271
milestone12.0a1
Bug 718271 - Use TEST-UNEXPECTED-FAIL instead of TEST-UNEXPECTED-ERROR; r=jmaher
testing/mochitest/runtestsremote.py
--- a/testing/mochitest/runtestsremote.py
+++ b/testing/mochitest/runtestsremote.py
@@ -408,29 +408,29 @@ def main():
             options.app = "am"
             options.browserArgs = ["instrument", "-w", "-e", "class"]
             options.browserArgs.append("%s.tests.%s" % (appname, test['name']))
             options.browserArgs.append("org.mozilla.roboexample.test/android.test.InstrumentationTestRunner")
 
             try:
                 retVal = mochitest.runTests(options)
             except:
-                print "TEST-UNEXPECTED-ERROR | %s | Exception caught while running robocop tests." % sys.exc_info()[1]
+                print "TEST-UNEXPECTED-FAIL | %s | Exception caught while running robocop tests." % sys.exc_info()[1]
                 mochitest.stopWebServer(options)
                 mochitest.stopWebSocketServer(options)
                 try:
                     self.cleanup(None, options)
                 except:
                     pass
                 sys.exit(1)
     else:
       try:
         retVal = mochitest.runTests(options)
       except:
-        print "TEST-UNEXPECTED-ERROR | %s | Exception caught while running tests." % sys.exc_info()[1]
+        print "TEST-UNEXPECTED-FAIL | %s | Exception caught while running tests." % sys.exc_info()[1]
         mochitest.stopWebServer(options)
         mochitest.stopWebSocketServer(options)
         try:
             self.cleanup(None, options)
         except:
             pass
         sys.exit(1)