From 61a30753a698408680557c018544df7349d174da Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Wed, 17 Dec 2014 17:15:57 +0100 Subject: [PATCH] Run structure tests on extensions The tests in the structure PHPUnit testsuite are used to verify the Autoloader, ResourceLoader definitions and some basic other tests. They are not run by Jenkins for MediaWiki extensions since we invoke: phpunit.php --testsuite extensions Add the structure directory to the 'extensions' testsuite. That will start enforcing them on all extensions, so need to be merged with care. We will want to backport this patch on all release branches we support and make sure they pass for all extensions/branches :-/ Bug: T78798 Change-Id: Icb88fb3f10d203cfcb61c36c9c92864b92d6739c --- tests/phpunit/suite.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/suite.xml b/tests/phpunit/suite.xml index 574c11e4cf..860408ff5a 100644 --- a/tests/phpunit/suite.xml +++ b/tests/phpunit/suite.xml @@ -39,6 +39,7 @@ phpunit.php enables colors for other OSs at runtime suites/UploadFromUrlTestSuite.php + structure suites/ExtensionsTestSuite.php suites/ExtensionsParserTestSuite.php suites/LessTestSuite.php -- 2.20.1