Hashar has uploaded a new change for review. https://gerrit.wikimedia.org/r/247554
Change subject: phpunit.php now recognizes --profiler parameter ...................................................................... phpunit.php now recognizes --profiler parameter Ideally we would want to whitelist all generic parameters from Maintenance.php but I am being lazy. Add 'profiler' in phpunit.php list of recognized parameters. Lets one use: php phpunit.php --profiler text includes/api/ That dumps profiling informations to the command line. Note due to some oddity in our PHPUnit wrapper, a first profiling is shown before running PHPUnit. Change-Id: I023fde03400fe4ab2991890ce0545bb35a82472b --- M tests/phpunit/phpunit.php 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/54/247554/1 diff --git a/tests/phpunit/phpunit.php b/tests/phpunit/phpunit.php index 49b91c3..cd06d88 100755 --- a/tests/phpunit/phpunit.php +++ b/tests/phpunit/phpunit.php @@ -16,6 +16,7 @@ class PHPUnitMaintClass extends Maintenance { public static $additionalOptions = array( + 'profiler' => false, 'regex' => false, 'file' => false, 'use-filebackend' => false, -- To view, visit https://gerrit.wikimedia.org/r/247554 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I023fde03400fe4ab2991890ce0545bb35a82472b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Hashar <has...@free.fr> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits