Page MenuHomePhabricator

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

Description

$ 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

Details

Reference
bz43808