mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-15 06:20:41 +00:00
969a457a69
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
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff