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

            Bug ID: 63690
           Summary: changing phpunit version
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Unit tests
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

Created attachment 15054
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=15054&action=edit
Changing phpunit version. This attachment shows some errors when trying to run
the tests.

I tried running phpunit tests on mediawiki-vagrant and got back some errors.

I was able to circumvent the problem by installing a different version of
PHPUnit:

   pear install --alldeps pear.phpunit.de/PHPUnit-3.7.2

This worked for me.
At the time of writing this bug report, if I installed PHPUnit like this

   pear install --alldeps phpunit/PHPUnit

it would install version 4.0.14 which from what I can understand is quite
different from <4.0 versions (also see
https://github.com/sebastianbergmann/phpunit/issues/1173 )

With PHPUnit 4.0.14, I get the output in the attached bugreport.txt


Note: Altough I was able to reproduce this and fix it inside my local install
of mediawiki-vagrant, I am reporting it as a bug/enhancement to Mediawiki since
the script in question ./mediawiki/tests/phpunit/install-phpunit.sh , is part
of Mediawiki.

I've tested this on mediawiki under commit with sha1
23fab68274456f796563a5eac2ab70cb307afe1a . This is dated 05-April-2014

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to