projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #15790 from civicrm/5.20
[civicrm-core.git]
/
tools
/
scripts
/
phpunit
diff --git
a/tools/scripts/phpunit
b/tools/scripts/phpunit
index 671c4d7440d1db693bf3cf10e732649efd912a69..2e682bc0db51253824050b4d71b2a6a467c760d8 100755
(executable)
--- a/
tools/scripts/phpunit
+++ b/
tools/scripts/phpunit
@@
-50,7
+50,7
@@
array_shift($argv);
// Convert class names to file names
$CIVICRM_UF = 'UnitTests';
foreach ($argv as $k => $v) {
// Convert class names to file names
$CIVICRM_UF = 'UnitTests';
foreach ($argv as $k => $v) {
- if (preg_match('/^(CRM_|api_v3_|EnvTest|WebTest_|E2E_)/', $v)) {
+ if (preg_match('/^(CRM_|api_v3_|
api_v4_|
EnvTest|WebTest_|E2E_)/', $v)) {
$argv[$k] = 'tests/phpunit/' . strtr($v, '_', '/') . '.php';
}
elseif (preg_match('/^Civi\\\\/', $v)) {
$argv[$k] = 'tests/phpunit/' . strtr($v, '_', '/') . '.php';
}
elseif (preg_match('/^Civi\\\\/', $v)) {