2009-11-05 35 views
2

我目前正在運行CTest,但是我遇到了一個問題,即使用長名稱進行測試。例如:CMake CTest阻止測試名稱的截斷

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

獲取的截斷類似

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

這似乎是測試名稱被截斷至31個字符。我該如何改變這一點?

由於

回答

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

設置最大寬度爲每個測試名稱在輸出顯示。這允許用戶擴大輸出以避免剪切可能非常煩人的測試名稱。

此選項可用於2.8版本

+0

我沒有看到2.6.8。有2.6.4和2.8。據推測這是2.8的功能? – Vitali 2009-11-07 23:16:09

+0

對不起2.8而不是2.6.8。 – 2009-11-08 17:05:26