Page MenuHomePhabricator

PHPUnit Makefile isn't BSD make compatible.
Closed, ResolvedPublic


$ cd tests/phpunit
$ make databaseless
 php phpunit.php --configuration /suite.xml  --exclude-group Broken,ParserFuzz,Destructive,Database,Stub
 Could not read "/suite.xml".
 *** Error code 1

 Stop in /usr/home/dereckson/dev/mediawiki/bench/core/tests/phpunit.

It currently uses a GNU-only $(shell command).

To get the current directory, there is a $PWD environment variable defined on FreeBSD, OpenBSD, Linux and Solaris we could use instead.

Version: 1.21.x
Severity: trivial

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 1:32 AM
bzimport set Reference to bz43808.

Gerrit change 43126.

Good catch :-] I have merged it in. Thanks!