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:
f400fd1
)
PHPUnit - Allow env-var to specify version (for mixer tests)
author
Tim Otten
<totten@civicrm.org>
Wed, 15 Mar 2023 23:16:00 +0000
(16:16 -0700)
committer
Tim Otten
<totten@civicrm.org>
Wed, 15 Mar 2023 23:17:47 +0000
(16:17 -0700)
tools/mixin/bin/mixer
patch
|
blob
|
blame
|
history
diff --git
a/tools/mixin/bin/mixer
b/tools/mixin/bin/mixer
index 627fdaa9b64d51a30296d9be41cd255e21084bef..7d688c7da8423717b0cea2c67ec45083b58ae20b 100755
(executable)
--- a/
tools/mixin/bin/mixer
+++ b/
tools/mixin/bin/mixer
@@
-196,7
+196,8
@@
function deep_copy(array $srcDirs, string $targetDir): void {
function phpunit(array $args = []) {
$argString = implode(' ' , array_map('escapeshellarg', $args));
- passthru_ok('phpunit8 ' . $argString);
+ $phpunit = getenv('PHPUNIT') ?: 'phpunit8';
+ passthru_ok($phpunit . ' ' . $argString);
}
function passthru_ok($cmd) {