Fix logging for buildbot

Merge from Widevine repo of http://go/wvgerrit/93686

This CL changes some test logging so that it is always on a single
line, even if verbose logging is turned on.

Test: unit tests
Bug: 149119926

Change-Id: I9473f6e559ff543ced47a7fa3900615866a25688
This commit is contained in:
Fred Gylys-Colwell
2020-02-11 13:57:32 -08:00
parent c9f586f81a
commit d7492082c6

View File

@@ -201,8 +201,8 @@ TEST_F(OEMCryptoClientTest, VersionNumber) {
cout << " OEMCrypto does not support usage tables." << endl;
}
if (version >= 15) {
cout << " Resource Rating Tier: "
<< OEMCrypto_ResourceRatingTier() << endl;
const uint32_t tier = OEMCrypto_ResourceRatingTier();
cout << " Resource Rating Tier: " << tier << endl;
const char* build_info = OEMCrypto_BuildInformation();
ASSERT_NE(nullptr, build_info);
ASSERT_TRUE(strnlen(build_info, 256) <= 256)