aboutsummaryrefslogtreecommitdiff
path: root/php/tests
diff options
context:
space:
mode:
authorBo Yang <teboring@google.com>2018-07-13 09:10:16 +0000
committerFeng Xiao <xfxyjwf@gmail.com>2018-07-15 21:01:48 -0700
commitb23429ea324818150754e3b7a78a996871fbd2ae (patch)
tree0b724f2d45540a6d8fd9c6c66470a6b7a47fe82f /php/tests
parent8758cc160641d0a51e560611ef6fa4896366c0e9 (diff)
downloadprotobuf-b23429ea324818150754e3b7a78a996871fbd2ae.tar.gz
protobuf-b23429ea324818150754e3b7a78a996871fbd2ae.tar.bz2
protobuf-b23429ea324818150754e3b7a78a996871fbd2ae.zip
Fix 32bit php tests
Diffstat (limited to 'php/tests')
-rwxr-xr-xphp/tests/test.sh2
-rw-r--r--php/tests/test_util.php1
2 files changed, 1 insertions, 2 deletions
diff --git a/php/tests/test.sh b/php/tests/test.sh
index 6e70eb2a..700dd295 100755
--- a/php/tests/test.sh
+++ b/php/tests/test.sh
@@ -14,7 +14,7 @@ set -e
phpize && ./configure CFLAGS='-g -O0' && make
popd
-tests=( array_test.php encode_decode_test.php generated_class_test.php generated_phpdoc_test.php map_field_test.php well_known_test.php generated_service_test.php descriptors_test.php )
+tests=( array_test.php encode_decode_test.php generated_class_test.php map_field_test.php well_known_test.php descriptors_test.php )
for t in "${tests[@]}"
do
diff --git a/php/tests/test_util.php b/php/tests/test_util.php
index e23ace74..a676d097 100644
--- a/php/tests/test_util.php
+++ b/php/tests/test_util.php
@@ -241,7 +241,6 @@ class TestUtil
if (PHP_INT_SIZE == 4) {
assert('-43' === $m->getRepeatedInt64()[0]);
assert('43' === $m->getRepeatedUint64()[0]);
- var_dump($m->getRepeatedSint64()[0]);
assert('-45' === $m->getRepeatedSint64()[0]);
assert('47' === $m->getRepeatedFixed64()[0]);
assert('-47' === $m->getRepeatedSfixed64()[0]);