mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
* Simplified PHP testing scripts. - allow them to be run from any directory. - remove "VERSION" arg, we can get PHP from $PATH. * Added a few places I missed. * Removed redundant "cd `dirname $0`". Also replaced all backticks with $(), for consistency.
13 lines
668 B
Bash
Executable file
13 lines
668 B
Bash
Executable file
#!/bin/bash
|
|
|
|
php -i | grep "Configuration"
|
|
|
|
# gdb --args php -dextension=../ext/google/protobuf/modules/protobuf.so `which
|
|
# phpunit` --bootstrap autoload.php tmp_test.php
|
|
#
|
|
# gdb --args php -dextension=../ext/google/protobuf/modules/protobuf.so `which phpunit` --bootstrap autoload.php generated_class_test.php
|
|
gdb --args php -dextension=../ext/google/protobuf/modules/protobuf.so `which phpunit` --bootstrap autoload.php encode_decode_test.php
|
|
#
|
|
# gdb --args php -dextension=../ext/google/protobuf/modules/protobuf.so memory_leak_test.php
|
|
#
|
|
# USE_ZEND_ALLOC=0 valgrind --leak-check=yes php -dextension=../ext/google/protobuf/modules/protobuf.so memory_leak_test.php
|