Re: Re: cvs: php4 /ext/mbstring/tests 027.inc 027.phpt
| From: | Yasuo Ohgaki | Date: | Mon, 21 Oct 2002 23:52:49 +0000 |
| Subject: | Re: Re: cvs: php4 /ext/mbstring/tests 027.inc 027.phpt | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89854@lists.php.net to get a copy of this message | ||
Other option is create .php files from phpt file always.
It was useful when there is .php file is created when
error occurred. (Current run-tests.php does not create the
.php files, though)
If .php files is always created and left after running
run-tests.php, all needs are covered. It's a trivial change
to run-tests.php.
We may better to use some strange extension to avoid
unwanted over writes. .src may be a good choice.
Comments?
--
Yasuo Ohgaki
Moriyoshi Koizumi wrote:
echo "<?php while(--\$argc>=0){\$f=\$argv[\$argc];echo \"\$f\n\";\ \$b=preg_replace(\ '/<\\?php\\s+include\\(\\s*[\"\\']([^\"\\']+)[\"\\']\\s*\\);\\s*\\?>/e',\ 'file_get_contents(\"\$1\")',\file_get_contents(\$f));\ \$p=fopen(\$f,'w');fwrite(\$p,\$b);fclose(\$p);}?>" \ | sapi/cli/php -- ext/mbstring/tests/*.phpt done (a bit dirty). Moriyoshi Moriyoshi Koizumi <moriyoshi@at.wakwak.com> wrote:Hi, I'm for Derick's option. Can I begin repacking each case to the single files now? Moriyoshi Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:Derick Rethans wrote:-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.phpYes, works fine here: (even with * instead of 025.*)Thing has been changed ;) I hope it's documented somewhere. -- Yasuo Ohgaki