Commit ad2b5c64 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

tests: sample: Fail early when ML fails to initialize

parent a57d46f3
...@@ -77,7 +77,7 @@ void Tests::SetUp() ...@@ -77,7 +77,7 @@ void Tests::SetUp()
else if ( Verbose == true ) else if ( Verbose == true )
m_ml->setVerbosity( LogLevel::Info ); m_ml->setVerbosity( LogLevel::Info );
m_ml->initialize( "test.db", "/tmp", m_cb.get() ); ASSERT_TRUE( m_ml->initialize( "test.db", "/tmp", m_cb.get() ) );
} }
void Tests::checkVideoTracks( const rapidjson::Value& expectedTracks, const std::vector<VideoTrackPtr>& tracks ) void Tests::checkVideoTracks( const rapidjson::Value& expectedTracks, const std::vector<VideoTrackPtr>& tracks )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment