Extracting from D242583 to land it separately. Differential Revision: https://phabricator.services.mozilla.com/D248312
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