This is specific to the Wikimedia CI setup, and really shouldn't be necessary in MediaWiki code. We should come up with other solutions that
- Don't require $wgExtensionFunctions/"callback"
- Aren't Wikimedia CI specific
This system needs to identify PHPUnit tests, parser tests, qunit tests, and browser test runs.