aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/tests
diff options
context:
space:
mode:
authorGravatar Bo Yang <teboring@google.com>2017-12-12 12:06:51 -0800
committerGravatar Bo Yang <teboring@google.com>2017-12-12 12:06:51 -0800
commit9f6aceaa8ce8250d9e36225180c218035bd49fe9 (patch)
tree25112df4c4e92cae9a38a16b640bf1ad36f06b68 /php/tests
parentb1386e77a2f4a901a45ad906da7c8cf8a517ab0e (diff)
Add PROTOBUF_ENABLE_TIMESTAMP to let user decide whether timestamp util
can be used at install time.
Diffstat (limited to 'php/tests')
-rwxr-xr-xphp/tests/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/tests/test.sh b/php/tests/test.sh
index c35372d3..a308a1d2 100755
--- a/php/tests/test.sh
+++ b/php/tests/test.sh
@@ -5,7 +5,7 @@ pushd ../ext/google/protobuf/
make clean || true
set -e
# Add following in configure for debug: --enable-debug CFLAGS='-g -O0'
-phpize && ./configure CFLAGS='-g -O0' && make
+phpize && ./configure CFLAGS='-g -O0 -DPROTOBUF_ENABLE_TIMESTAMP' && 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 )