encode_test_driver: check for fatal failures
Make the base test be: !(fatal || abort_) removing some redundancy in the encode tests Change-Id: I8ffaf33fcf9a3030b38ea3e8eb94704cdc2fc920
This commit is contained in:
@@ -190,7 +190,9 @@ class EncoderTest {
|
||||
virtual void PSNRPktHook(const vpx_codec_cx_pkt_t *pkt) {}
|
||||
|
||||
// Hook to determine whether the encode loop should continue.
|
||||
virtual bool Continue() const { return !abort_; }
|
||||
virtual bool Continue() const {
|
||||
return !(::testing::Test::HasFatalFailure() || abort_);
|
||||
}
|
||||
|
||||
const CodecFactory *codec_;
|
||||
// Hook to determine whether to decode frame after encoding
|
||||
|
Reference in New Issue
Block a user