问题描述
我要从一个没有docker的CentOS 6移植一个autotools项目到一个CentOS 8 docker。当我运行make check
时,不是像以前那样将所有内容打印到控制台,而是仅打印:
PASS: unit_tests_for_component_x
============================================================================
Testsuite summary for my-product 0.10
============================================================================
# TOTAL: 1
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
如果测试失败,它将打印:
FAIL: unit_tests_component_x
============================================================================
Testsuite summary for my-product 0.10
============================================================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See component_x/test-suite.log
Please report to [email protected]
============================================================================
然后我必须打开component_x/test-suite.log
文件以查看发生了什么。
注意:这在没有docker的CentOS 8上也会发生。
我非常希望gtest仅在控制台上打印所有内容,包括通过测试和失败测试,即使它过于冗长-我对此也感到满意。
环境详细信息:
gtest-1.7.0-0
,官方CentOS 8.1.1911
码头工人,autotools 2.69
,gcc 8.3.1
非常感谢
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)