projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
862dad2
)
tools/scripts/phpunit - Accept EnvTest
author
Tim Otten
<totten@civicrm.org>
Fri, 29 Jan 2016 05:06:57 +0000
(21:06 -0800)
committer
Tim Otten
<totten@civicrm.org>
Tue, 2 Feb 2016 04:56:23 +0000
(21:56 -0700)
tools/scripts/phpunit
patch
|
blob
|
blame
|
history
diff --git
a/tools/scripts/phpunit
b/tools/scripts/phpunit
index 6e16d0a2053c6680cd755023d96f604578801e5b..30a3831c8a424537df7937eaf19e64e4d55775e2 100755
(executable)
--- a/
tools/scripts/phpunit
+++ b/
tools/scripts/phpunit
@@
-30,7
+30,7
@@
array_shift($argv);
// Convert class names to file names
foreach ($argv as $k => $v) {
- if (preg_match('/^(CRM_|api_v3|WebTest_)/', $v)) {
+ if (preg_match('/^(CRM_|api_v3
_|EnvTest
|WebTest_)/', $v)) {
$argv[$k] = 'tests/phpunit/' . strtr($v, '_', '/') . '.php';
}
elseif (preg_match('/^Civi\\\\/', $v)) {