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 <[EMAIL PROTECTED]> wrote:
Hi,
I'm for Derick's option. Can I begin repacking each case to the single
files now?
Moriyoshi
Yasuo Ohgaki <[EMAIL PROTECTED]> wrote:
Derick Rethans wrote:
Yes, works fine here:
(even with * instead of 025.*)
Thing has been changed ;)
I hope it's documented somewhere.
--
Yasuo Ohgaki
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php