Merge pull request #1473 from mstorsjo/silence-test-warnings
Silence warning logging while running tests that can produce errors
This commit is contained in:
commit
41ed734674
@ -2002,6 +2002,8 @@ TEST_F (EncodeDecodeTestAPI, SetOptionEncParamExt) {
|
||||
int rv = encoder_->InitializeExt (¶m_);
|
||||
ASSERT_TRUE (rv == cmResultSuccess);
|
||||
|
||||
int32_t iTraceLevel = WELS_LOG_QUIET;
|
||||
encoder_->SetOption (ENCODER_OPTION_TRACE_LEVEL, &iTraceLevel);
|
||||
for (int i = 0; i < iEncFrameNum; i++) {
|
||||
//for (int i = 0; i < 9; i++) {
|
||||
int iResult;
|
||||
@ -2033,4 +2035,6 @@ TEST_F (EncodeDecodeTestAPI, SetOptionEncParamExt) {
|
||||
}
|
||||
}
|
||||
|
||||
iTraceLevel = WELS_LOG_ERROR;
|
||||
encoder_->SetOption (ENCODER_OPTION_TRACE_LEVEL, &iTraceLevel);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user