https://bugzilla.wikimedia.org/show_bug.cgi?id=28908
Web browser: ---
Bug #: 28908
Summary: PHPUnit tests fail on Git checkouts
Product: MediaWiki
Version: 1.19-svn
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Unit tests
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
$ git clone http://github.com/mediawiki/mediawiki-trunk-phase3.git
$ php install.php --dbtype sqlite --dbname gittest --dbpath /home/maxsem --pass
foo bar baz
maxsem@ci:~/mediawiki-trunk-phase3/tests/phpunit$ make destructive
php phpunit.php --configuration
/home/maxsem/mediawiki-trunk-phase3/tests/phpunit/suite.xml
Unexpected non-MediaWiki exception encountered, of type
"UnexpectedValueException"
exception 'UnexpectedValueException' with message
'RecursiveDirectoryIterator::__construct(./skins): failed to open dir: No such
file or directory' in
/usr/share/php/PHPUnit/Runner/IncludePathTestCollector.php:124
Stack trace:
#0 /usr/share/php/PHPUnit/Runner/IncludePathTestCollector.php(124):
RecursiveDirectoryIterator->__construct('./skins')
#1 /usr/share/php/PHPUnit/Util/Configuration.php(759):
PHPUnit_Runner_IncludePathTestCollector->collectTests()
#2 /usr/share/php/PHPUnit/Util/Configuration.php(712):
PHPUnit_Util_Configuration->getTestSuite(Object(DOMElement), false)
#3 /usr/share/php/PHPUnit/TextUI/Command.php(793):
PHPUnit_Util_Configuration->getTestSuiteConfiguration(false)
#4 /usr/share/php/PHPUnit/TextUI/Command.php(155):
PHPUnit_TextUI_Command->handleArguments(Array)
#5
/home/maxsem/mediawiki-trunk-phase3/tests/phpunit/MediaWikiPHPUnitCommand.php(20):
PHPUnit_TextUI_Command->run(Array, true)
#6 /home/maxsem/mediawiki-trunk-phase3/tests/phpunit/phpunit.php(63):
MediaWikiPHPUnitCommand::main()
#7 {main}
make: *** [phpunit] Error 1
Reproduceable on Windows, too.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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