diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2000-10-23 07:31:31 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2000-10-23 07:31:31 +0000 |
commit | b17451635d4a7c3392aad8adadca31d36410514c (patch) | |
tree | b2ee8839515dbb4f44e64a7f0208f22435ee830e /ext/ext_skel | |
parent | fa8452bbb252e69ffa6d31bb5336ee3c967949fc (diff) | |
download | php-git-b17451635d4a7c3392aad8adadca31d36410514c.tar.gz |
added a regression test skeleton file
plus a partintro in xml documentation template
Diffstat (limited to 'ext/ext_skel')
-rwxr-xr-x | ext/ext_skel | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ext/ext_skel b/ext/ext_skel index 12fe17bd32..207fbd2fa0 100755 --- a/ext/ext_skel +++ b/ext/ext_skel @@ -200,7 +200,10 @@ if [ ! -z $no_help ]; then fi sed -f sedscript <../skeleton/php_skeleton.h > php_$extname.h -rm sedscript +$ECHO_N " tests/001.phpt$ECHO_C" +mkdir tests || givup "Cannot create tests directory" +chmod 755 tests +sed -f sedscript <../skeleton/tests/001.phpt > tests/001.phpt if test -z "$stubs" && test -z "$no_help"; then $ECHO_N " $extname.php$ECHO_C" @@ -210,6 +213,8 @@ if test -z "$stubs" && test -z "$no_help"; then > $extname.php fi +rm sedscript + if test -n "$proto"; then if test -z "$stubs"; then rm function_entries @@ -226,7 +231,8 @@ in the instructions above. fi fi -chmod 644 * +find . -type f | xargs chmod 644 +find . -type d | xargs chmod 755 fi echo " [done]." |