【问题解决】protobuf make check失败:FAIL: protobuf-test

问题:

protubuf-cpp 在虚拟机linux下(ubuntu 18.04)编译,编译后执行 make check 失败,LOG如下:

../test-driver:行 107: 125242 已杀死               "$@" > $log_file 2>&1
FAIL: protobuf-test
PASS: protobuf-lazy-descriptor-test
PASS: protobuf-lite-test
PASS: google/protobuf/compiler/zip_output_unittest.sh
PASS: google/protobuf/io/gzip_stream_unittest.sh
PASS: protobuf-lite-arena-test
PASS: no-warning-test
============================================================================
Testsuite summary for Protocol Buffers 3.17.0
============================================================================
# TOTAL: 7
# PASS:  6
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See src/test-suite.log
Please report to [email protected]
============================================================================
Makefile:7577: recipe for target 'test-suite.log' failed

解决:

虚拟机系统原分配内存4G,改为8G
【问题解决】protobuf make check失败:FAIL: protobuf-test_第1张图片
再次执行 make check 成功

PASS: protobuf-test
PASS: protobuf-lazy-descriptor-test
PASS: protobuf-lite-test
PASS: google/protobuf/compiler/zip_output_unittest.sh
PASS: google/protobuf/io/gzip_stream_unittest.sh
PASS: protobuf-lite-arena-test
PASS: no-warning-test
============================================================================
Testsuite summary for Protocol Buffers 3.17.0
============================================================================
# TOTAL: 7
# PASS:  7
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================

issues

你可能感兴趣的:(QT,linux,c++)