xref: /third_party/protobuf/php/tests/gdb_test.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/protobuf/php/tests/
1ffe3c632Sopenharmony_ci#!/bin/bash
2ffe3c632Sopenharmony_ci
3ffe3c632Sopenharmony_ciphp -i | grep "Configuration"
4ffe3c632Sopenharmony_ci
5ffe3c632Sopenharmony_ci# gdb --args php -dextension=../ext/google/protobuf/modules/protobuf.so `which
6ffe3c632Sopenharmony_ci# phpunit` --bootstrap autoload.php tmp_test.php
7ffe3c632Sopenharmony_ci#
8ffe3c632Sopenharmony_ci# gdb --args php -dextension=../ext/google/protobuf/modules/protobuf.so `which phpunit` --bootstrap autoload.php generated_class_test.php
9ffe3c632Sopenharmony_cigdb --args php -dextension=../ext/google/protobuf/modules/protobuf.so `which phpunit` --bootstrap autoload.php encode_decode_test.php
10ffe3c632Sopenharmony_ci#
11ffe3c632Sopenharmony_ci# gdb --args php -dextension=../ext/google/protobuf/modules/protobuf.so memory_leak_test.php
12ffe3c632Sopenharmony_ci#
13ffe3c632Sopenharmony_ci# USE_ZEND_ALLOC=0 valgrind --leak-check=yes php -dextension=../ext/google/protobuf/modules/protobuf.so memory_leak_test.php
14

Indexes created Thu Nov 07 10:32:03 CST 2024