CMake CTest 防止测试名称被截断

发布于 2024-08-10 06:25:34 字数 267 浏览 1 评论 0原文

我目前正在运行 CTest,但我有一个问题,即使用长名称进行测试。例如:

"API Part1 : Some test information w/ this input file"

get 被截断为类似的内容

"API Part1 : Some test information w/ th").

测试名称似乎被截断为大约 31 个字符。我怎样才能改变这个?

谢谢

I'm currently running CTest, but I have a problem whereby tests with long names. For example:

"API Part1 : Some test information w/ this input file"

get's truncated to something like

"API Part1 : Some test information w/ th").

It seems like the test name is truncated to about 31 characters. How can I change this?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

も星光 2024-08-17 06:25:34
--max-width <width>: Set the max width for a test name to output

设置要在输出中显示的每个测试名称的最大宽度。这允许用户扩大输出以避免剪辑测试名称,这可能非常烦人。

此选项适用于 2.8 版本

--max-width <width>: Set the max width for a test name to output

Set the maximum width for each test name to show in the output. This allows the user to widen the output to avoid cliping the test name which can be very annoying.

This option is available for 2.8 Versions

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文