On 05/23/2013 04:59 PM, Arthur Richards wrote:
> In trying to submit https://gerrit.wikimedia.org/r/#/c/63907/18, I get a
> Jenkins build failure due to PHPUnit failing, due to a Fatal being thrown:
> https://integration.wikimedia.org/ci/job/mwext-MobileFrontend-testextensions-master/898/console
> 
> The fatal:
> 
> PHP Fatal error:  Class 'MFMockRevision' not found in
> /srv/ssd/jenkins/workspace/mwext-MobileFrontend-testextensions-master/extensions/MobileFrontend/tests/MobileContextTest.php
> on line 500

My guess is you need to add it to $autoloadClasses.

> The thing is, 'MFMockRevision' should be made available by it's file
> being included in efExtMobileFrontendUnitTests() (our hook handler for
> UnitTestsList.

I don't know if Jenkins uses that.  Moreover, it doesn't seem correct to
add it there, since that file doesn't actually have tests in it.

Matt Flaschen

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to