我已经使用他们的插件将 TeamCity 与 Cppunit 集成在一起。
我试图摆脱'\n'
每次测试后附加的内容。我尝试details.append("\n");
从 teamcity_cppunit.cpp 中注释掉,但这并没有成功。而且我没有找到其他任何'\n'
被附加的地方。
基本上我想得到这个:
16> Description: Executing Unit Tests...
16> Running 4 test cases...
16> CoreTechUnitTests::CLogExtractorTestCase::CreateLogExtractorTest... [0.2503s]
16> CoreTechUnitTests::CLogExtractorTestCase::CreateOutputFolderTest... [0.0057s]
16> CoreTechUnitTests::CLogExtractorTestCase::WriteLogFileTest... [0.0050s]
16> CoreTechUnitTests::CLogExtractorTestCase::LastRunUnitTest... [0.0001s]
16> Total test execution took 0.2612s
16>
16> OK (4)
与此相反:
9> CoreTechUnitTests::CMcMd5TestCase::MD5Test...CoreTechUnitTests::CMcMd5TestCase::MD5Test [0.0001s] : OK
9>
9> CoreTechUnitTests::CByteBufferTest::TestBuffer...CoreTechUnitTests::CByteBufferTest::TestBuffer [0.0003s] : OK
9>
9> CoreTechUnitTests::CETWLogConsumerTestCase::CreateETWReaderTests...CoreTechUnitTests::CETWLogConsumerTestCase::CreateETWReaderTests [0.0106s] : OK
9>
9> CoreTechUnitTests::CETWLogConsumerTestCase::ExtractEventSystemTimeTests...CoreTechUnitTests::CETWLogConsumerTestCase::ExtractEventSystemTimeTests [0.0001s] : OK
我想知道是否有人知道将'\n'
其附加在哪里。