cvs: pear-core /PEAR/Command Package.php

From: Date: Mon, 21 Feb 2005 05:28:06 +0000
Subject: cvs: pear-core /PEAR/Command Package.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-29597@lists.php.net to get a copy of this message
cellog Mon Feb 21 00:28:06 2005 EDT Modified files: /pear-core/PEAR/Command Package.php Log: add quiet option to pear run-tests http://cvs.php.net/diff.php/pear-core/PEAR/Command/Package.php?r1=1.91&r2=1.92&ty=u Index: pear-core/PEAR/Command/Package.php diff -u pear-core/PEAR/Command/Package.php:1.91 pear-core/PEAR/Command/Package.php:1.92 --- pear-core/PEAR/Command/Package.php:1.91 Wed Feb 2 21:23:25 2005 +++ pear-core/PEAR/Command/Package.php Mon Feb 21 00:28:06 2005 @@ -18,7 +18,7 @@ // | Greg Beaver <cellog@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Package.php,v 1.91 2005/02/03 02:23:25 cellog Exp $ +// $Id: Package.php,v 1.92 2005/02/21 05:28:06 cellog Exp $ require_once 'PEAR/Common.php'; require_once 'PEAR/Packager.php'; @@ -181,6 +181,10 @@ 'shortopt' => 'l', 'doc' => 'Log test runs/results as they are run', ), + 'quiet' => array( + 'shortopt' => 'q', + 'doc' => 'Only display detail for failed tests', + ), ), 'doc' => '[testfile|dir ...] Run regression tests with PHP\'s regression testing script (run-tests.php).', @@ -519,7 +523,7 @@ { $log = new PEAR_Common; $log->ui = &$this->ui; // slightly hacky, but it will work - $run = new PEAR_RunTest($log); + $run = new PEAR_RunTest($log, $options); $tests = array(); if (isset($options['recur'])) { $depth = 4;

« previous php.pear.cvs (#29597) next »