From: Kunal Mehta Date: Mon, 8 Feb 2016 01:24:52 +0000 (-0800) Subject: Output PHP version before running PHPUnit tests X-Git-Tag: 1.31.0-rc.0~8062^2 X-Git-Url: https://git.cyclocoop.org/%20%27.%28%24debut%20%20%20%24par_page%29.%27?a=commitdiff_plain;h=82c6f0ff036a7c13fa86b30e92a597b79f87cee5;p=lhc%2Fweb%2Fwiklou.git Output PHP version before running PHPUnit tests For sanity checking CI changes, as well as to match the PHPUnit version output. Change-Id: Ib807f8650992adada97226cd96282484392f71e8 --- diff --git a/tests/phpunit/phpunit.php b/tests/phpunit/phpunit.php index 0ae0b21385..673bb2d7a9 100755 --- 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();