https://bugzilla.wikimedia.org/show_bug.cgi?id=46635

--- Comment #1 from MWJames <[email protected]> ---
Could we also make sure that test cases don't have to same problem. For
example:

return parent::getTestModules() + array(
    'PropertyLibraryTests' => __DIR__ . '/PropertyLibraryTests.lua',
);

Right now when trying to load a PropertyLibraryTests.lua from a non-Scribunto
directory it returns with a 

Invalid argument supplied for foreach() in
C:\xampp\htdocs\mw\extensions\Scribunto\tests\engines\LuaCommon\LuaEngineTestBase.php
on line 183
Unexpected non-MediaWiki exception encountered, of type "Exception"
exception 'Exception' with message 'Failed to load module PropertyLibraryTests'

But PropertyLibraryTests.lua do exists in folder
C:\xampp\htdocs\mw\extensions\SemanticMediaWiki\tests\phpunit\includes\lua
which is the same directory that holds PropertyLibraryTest.php

Because as long as tests do not work, [1] is blocked.

[1] https://gerrit.wikimedia.org/r/#/c/56393/

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to