Paul Yang | 46ae90d | 2016-12-08 11:16:49 -0800 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
Paul Yang | 51293f3 | 2018-01-25 11:31:05 -0800 | [diff] [blame] | 3 | php -i | grep "Configuration" |
| 4 | |
Paul Yang | 46ae90d | 2016-12-08 11:16:49 -0800 | [diff] [blame] | 5 | # gdb --args php -dextension=../ext/google/protobuf/modules/protobuf.so `which |
| 6 | # phpunit` --bootstrap autoload.php tmp_test.php |
| 7 | # |
Paul Yang | 8faa778 | 2018-12-26 10:36:09 -0800 | [diff] [blame] | 8 | # gdb --args php -dextension=../ext/google/protobuf/modules/protobuf.so `which phpunit` --bootstrap autoload.php generated_class_test.php |
| 9 | gdb --args php -dextension=../ext/google/protobuf/modules/protobuf.so `which phpunit` --bootstrap autoload.php encode_decode_test.php |
Paul Yang | 46ae90d | 2016-12-08 11:16:49 -0800 | [diff] [blame] | 10 | # |
Brent Shaffer | 6737954 | 2018-05-23 16:43:30 -0700 | [diff] [blame] | 11 | # gdb --args php -dextension=../ext/google/protobuf/modules/protobuf.so memory_leak_test.php |
Paul Yang | 46ae90d | 2016-12-08 11:16:49 -0800 | [diff] [blame] | 12 | # |
Paul Yang | 190b527 | 2017-04-19 16:23:51 -0700 | [diff] [blame] | 13 | # USE_ZEND_ALLOC=0 valgrind --leak-check=yes php -dextension=../ext/google/protobuf/modules/protobuf.so memory_leak_test.php |