From 82c6f0ff036a7c13fa86b30e92a597b79f87cee5 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sun, 7 Feb 2016 17:24:52 -0800 Subject: [PATCH] Output PHP version before running PHPUnit tests For sanity checking CI changes, as well as to match the PHPUnit version output. Change-Id: Ib807f8650992adada97226cd96282484392f71e8 --- tests/phpunit/phpunit.php | 4 ++++ 1 file changed, 4 insertions(+) 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(); -- 2.20.1