diff options
| author | Hao Nguyen <45579440+haon4@users.noreply.github.com> | 2019-01-23 10:02:51 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-23 10:02:51 -0800 |
| commit | 4f8a635679c43c546764b4af9cc7132e1854e080 (patch) | |
| tree | 6c704604dd5e21824fa394db995abec9e3bdefc7 /tests.sh | |
| parent | 7f42d6d0bcadb286aa5120bc60441d4b56bacd93 (diff) | |
| download | platform_external_protobuf-4f8a635679c43c546764b4af9cc7132e1854e080.tar.gz platform_external_protobuf-4f8a635679c43c546764b4af9cc7132e1854e080.tar.bz2 platform_external_protobuf-4f8a635679c43c546764b4af9cc7132e1854e080.zip | |
Create test for protoc with tcmalloc (#5612)
* Add TC malloc kokoro test
* Update tcmalloc test
Diffstat (limited to 'tests.sh')
| -rwxr-xr-x | tests.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -38,6 +38,15 @@ build_cpp() { fi } +build_cpp_tcmalloc() { + internal_build_cpp + ./configure LIBS=-ltcmalloc && make clean && make \ + PTHREAD_CFLAGS='-pthread -DGOOGLE_PROTOBUF_HEAP_CHECK_DRACONIAN' \ + check + cd src + PPROF_PATH=/usr/bin/google-pprof HEAPCHECK=draconian ./protobuf-test +} + build_cpp_distcheck() { # Initialize any submodules. git submodule update --init --recursive |
