Re: cvs: php-src / run-tests.php

From: Date: Tue, 02 Aug 2005 10:33:20 +0000
Subject: Re: cvs: php-src / run-tests.php
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-33156@lists.php.net to get a copy of this message
Hi Antony Dovgal, you wrote: > On Fri, 29 Jul 2005 17:25:41 -0000 > "Marcus Boerger" <helly@php.net> wrote: > > >>helly Fri Jul 29 13:25:41 2005 EDT >> >> Modified files: >> /php-src run-tests.php >> Log: >> - Add ENV support (mike) >> >>+ if (empty($section_text['ENV'])) { >>+ $cmd = "$php$pass_options$ini_settings -f \"$tmp_file\" $args >>2>&1"; >>+ } else { >>+ $cmd = "$php$pass_options$ini_settings < \"$tmp_file\" $args >>2>&1"; >>+ } > > > Executing tests this way (php < script.php) you break all the tests that use __FILE__ (as > there is no __FILE__ in this case). There are currently no tests using the ENV section than those of pecl/http. Regards, -- Michael - < mike(@)php.net >

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.cvs (#33156) next »