浏览代码

Do "strict" heapcheck instead of "draconian" (#5635)

The draconian heapcheck turns up memory leaks outside our control, such
as ones in libc and in the heapchecker itself. I think for an automated
test it makes more sense for us to use the "strict" heapcheck, since
that already passes and should only report leaks that are within our
control.
Adam Cozzette 6 年之前
父节点
当前提交
d135f07bba
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests.sh

+ 1 - 1
tests.sh

@@ -44,7 +44,7 @@ build_cpp_tcmalloc() {
       PTHREAD_CFLAGS='-pthread -DGOOGLE_PROTOBUF_HEAP_CHECK_DRACONIAN' \
       check
   cd src
-  PPROF_PATH=/usr/bin/google-pprof HEAPCHECK=draconian ./protobuf-test
+  PPROF_PATH=/usr/bin/google-pprof HEAPCHECK=strict ./protobuf-test
 }
 
 build_cpp_distcheck() {