Jdlrobson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/91535
Change subject: Hygiene: Simplify how make phpunit works in Makefile
......................................................................
Hygiene: Simplify how make phpunit works in Makefile
Change-Id: I079e5b0ddc789685c0b236fe576b31679bf5f2ea
---
M Makefile
D tests/mfe.suite.xml
2 files changed, 1 insertion(+), 30 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/35/91535/1
diff --git a/Makefile b/Makefile
index fa4c3a2..8b9362f 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@
@php ../../maintenance/checkLess.php
phpunit:
- cd ${MW_INSTALL_PATH}/tests/phpunit && php phpunit.php --configuration
${MW_INSTALL_PATH}/extensions/MobileFrontend/tests/mfe.suite.xml
--group=MobileFrontend
+ ${MW_INSTALL_PATH}/tests/phpunit/phpunit.php
${MW_INSTALL_PATH}/extensions/MobileFrontend
qunit:
@scripts/qunit.sh
diff --git a/tests/mfe.suite.xml b/tests/mfe.suite.xml
deleted file mode 100644
index 274f38b..0000000
--- a/tests/mfe.suite.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- colors don't work on Windows! -->
-<phpunit bootstrap="bootstrap.php"
- colors="true"
- backupGlobals="false"
- convertErrorsToExceptions="true"
- convertNoticesToExceptions="true"
- convertWarningsToExceptions="true"
- stopOnFailure="false"
- timeoutForSmallTests="2"
- timeoutForMediumTests="10"
- timeoutForLargeTests="60"
- strict="true"
- verbose="true">
- <testsuites>
- <testsuite name="extensions">
- <file>suites/ExtensionsTestSuite.php</file>
- </testsuite>
- </testsuites>
- <groups>
- <exclude>
- <group>Utility</group>
- <group>Broken</group>
- <group>ParserFuzz</group>
- <group>Stub</group>
- </exclude>
- </groups>
-</phpunit>
--
To view, visit https://gerrit.wikimedia.org/r/91535
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I079e5b0ddc789685c0b236fe576b31679bf5f2ea
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits