aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/tests/test.sh
diff options
context:
space:
mode:
authorGravatar Bo Yang <teboring@google.com>2016-09-30 19:07:33 +0000
committerGravatar Bo Yang <teboring@google.com>2016-10-10 11:44:54 -0700
commitc8bd36e5b91fa7cc3ca56abfd33db13da8ce3077 (patch)
treea63fa0c5740e1871231b43b97f0d80f8e2cdd71c /php/tests/test.sh
parentc0719f062c1e8b140fa90ce6e8af8ad32ee61583 (diff)
Test php5.5_c test on jenkins
Diffstat (limited to 'php/tests/test.sh')
-rwxr-xr-xphp/tests/test.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/php/tests/test.sh b/php/tests/test.sh
index f3f04a47..15df768c 100755
--- a/php/tests/test.sh
+++ b/php/tests/test.sh
@@ -1,10 +1,5 @@
#!/bin/bash
-# Compile protoc
-pushd ../../
-./autogen.sh && ./configure && make
-popd
-
# Generate test file
../../src/protoc --php_out=. test.proto test_include.proto
@@ -29,4 +24,9 @@ done
# Make sure to run the memory test in debug mode.
php -dextension=../ext/google/protobuf/modules/protobuf.so memory_leak_test.php
+php --version
+which php
+pwd
+ls
+ls -l `which php`
USE_ZEND_ALLOC=0 valgrind --leak-check=yes php -dextension=../ext/google/protobuf/modules/protobuf.so memory_leak_test.php