dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5346065
)
Output PHP version before running PHPUnit tests
author
Kunal Mehta
<legoktm@member.fsf.org>
Mon, 8 Feb 2016 01:24:52 +0000
(17:24 -0800)
committer
Kunal Mehta
<legoktm@member.fsf.org>
Mon, 8 Feb 2016 01:43:33 +0000
(17:43 -0800)
For sanity checking CI changes, as well as to match the PHPUnit
version output.
Change-Id: Ib807f8650992adada97226cd96282484392f71e8
tests/phpunit/phpunit.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/phpunit.php
b/tests/phpunit/phpunit.php
index
0ae0b21
..
673bb2d
100755
(executable)
--- a/
tests/phpunit/phpunit.php
+++ b/
tests/phpunit/phpunit.php
@@
-302,4
+302,8
@@
if ( $puVersion !== '@package_version@' && version_compare( $puVersion, '3.7.0',
exit( 1 );
}
+echo defined( 'HHVM_VERSION' ) ?
+ 'Using HHVM ' . HHVM_VERSION . ' (' . PHP_VERSION . ")\n" :
+ 'Using PHP ' . PHP_VERSION . "\n";
+
PHPUnit_TextUI_Command::main();