https://bugzilla.wikimedia.org/show_bug.cgi?id=70250
Bug ID: 70250 Summary: Allow tests to specify what extensions and or what order things are loaded in Product: Wikimedia Version: wmf-deployment Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: Continuous integration Assignee: wikibugs-l@lists.wikimedia.org Reporter: addshorew...@gmail.com CC: g...@wikimedia.org, has...@free.fr, krinklem...@gmail.com Web browser: --- Mobile Platform: --- The remaining issue is that the Wikidata.php entry file is loaded before we can define some vars in php, thus the repo / client is not loaded hence Lib is not loaded and we get the exception about undefined constant. The wikidata.php file is loaded by the 50_mw_ext_loader.php file. As far as I can tell the best ways to deal with this would be to: Allow tests to specify what they want to be added to localsettings, this would probably require far to much repetition in regard to extension tests, although would mean we can test extensions that have badly named entry points. Allow tests to specify specific things to add to localsettings but if this is not defined then fallback to the autoloading of entry points (seems like quite a good plan) Allow tests to skip the autoloading of extensions from 50_mw_ext_loader.php Allow tests to skip any defined conf.d file by adding it to some sort of ignore array prior to them all loading -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l