2016-12-08 19:16:49 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-01-25 19:31:05 +00:00
|
|
|
php -i | grep "Configuration"
|
|
|
|
|
2016-12-08 19:16:49 +00:00
|
|
|
# gdb --args php -dextension=../ext/google/protobuf/modules/protobuf.so `which
|
|
|
|
# phpunit` --bootstrap autoload.php tmp_test.php
|
|
|
|
#
|
2018-12-26 18:36:09 +00:00
|
|
|
# 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
|
2016-12-08 19:16:49 +00:00
|
|
|
#
|
2018-05-23 23:43:30 +00:00
|
|
|
# gdb --args php -dextension=../ext/google/protobuf/modules/protobuf.so memory_leak_test.php
|
2016-12-08 19:16:49 +00:00
|
|
|
#
|
2017-04-19 23:23:51 +00:00
|
|
|
# USE_ZEND_ALLOC=0 valgrind --leak-check=yes php -dextension=../ext/google/protobuf/modules/protobuf.so memory_leak_test.php
|