gecko-dev/mobile
Agi Sferro 969a457a69 Bug 1605256 - Add exception type to message. r=snorp
This commit does two things:

- It exposes the error that caused the test to fail in our logs, so it would
  appear like so:

```
TEST-UNEXPECTED-FAIL | org.mozilla.geckoview.test.ExtensionActionTest.setIconSvg[#pageAction] | java.lang.AssertionError: We shouldn't get here
```

- It catches exceptions that are raised before any test code is run and outputs
  a different message (since those failures do not depend on the test at all),
  like so:

```
ERROR runjunit.py | The previous test failed because of an error in the test harness | org.mozilla.geckoview.test.rule.TestHarnessException: java.lang.RuntimeException: We shouldn't get here
```

This will hopefully help with spurious intermittents and understand when a
failure changes.

Differential Revision: https://phabricator.services.mozilla.com/D58022

--HG--
extra : moz-landing-system : lando
2020-01-06 22:48:03 +00:00
..
android Bug 1605256 - Add exception type to message. r=snorp 2020-01-06 22:48:03 +00:00
locales Bug 1601076 - Fix some broken BUG_COMPONENTS in moz.build files; r=jmaher 2019-12-04 13:55:45 +00:00