Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: third_party/protobuf/php/tests/test.sh

Issue 2599263002: third_party/protobuf: Update to HEAD (f52e188fe4) (Closed)
Patch Set: Address comments Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # Compile c extension
4 pushd ../ext/google/protobuf/
5 make clean
6 set -e
7 # Add following in configure for debug: --enable-debug CFLAGS='-g -O0'
8 phpize && ./configure --enable-debug CFLAGS='-g -O0' && make
9 popd
10
11 tests=( array_test.php encode_decode_test.php generated_class_test.php map_field _test.php well_known_test.php )
12
13 for t in "${tests[@]}"
14 do
15 echo "****************************"
16 echo "* $t"
17 echo "****************************"
18 php -dextension=../ext/google/protobuf/modules/protobuf.so `which phpunit` --b ootstrap autoload.php $t
19 echo ""
20 done
21
22 # Make sure to run the memory test in debug mode.
23 php -dextension=../ext/google/protobuf/modules/protobuf.so memory_leak_test.php
24
25 USE_ZEND_ALLOC=0 valgrind --leak-check=yes php -dextension=../ext/google/protobu f/modules/protobuf.so memory_leak_test.php
OLDNEW
« no previous file with comments | « third_party/protobuf/php/tests/proto/test_no_namespace.proto ('k') | third_party/protobuf/php/tests/test_base.php » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698