Just makes more sense not to claim we could complete everything
if we actually couldn't.
Change-Id: I4ec3a2da8913ca546782919813eb18a05a5cca0a
}
if ( !$ok ) {
- die( "Couldn't find a usable PHPUnit.\n" );
+ echo "Couldn't find a usable PHPUnit.\n";
+ exit( 1 );
}
$puVersion = PHPUnit_Runner_Version::id();
if ( $puVersion !== '@package_version@' && version_compare( $puVersion, '3.7.0', '<' ) ) {
- die( "PHPUnit 3.7.0 or later required; you have {$puVersion}.\n" );
+ echo "PHPUnit 3.7.0 or later required; you have {$puVersion}.\n";
+ exit( 1 );
}
PHPUnit_TextUI_Command::main();