Spot butler exceptions during test.
authorCarl Hetherington <cth@carlh.net>
Sun, 25 Apr 2021 23:16:53 +0000 (01:16 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 7 May 2021 07:29:59 +0000 (09:29 +0200)
test/butler_test.cc

index dbd7a287edd1308e9047b66d9b3047bba562a81c..5069128e847624f3f2963b2cc9667c649c86c851 100644 (file)
@@ -66,6 +66,8 @@ BOOST_AUTO_TEST_CASE (butler_test1)
        BOOST_CHECK (butler.get_video(true, 0).second == DCPTime::from_frames(2, 24));
        /* XXX: check the frame contents */
 
+       butler.rethrow ();
+
        float buffer[256 * 6];
        BOOST_REQUIRE (butler.get_audio(buffer, 256) == DCPTime());
        for (int i = 0; i < 256; ++i) {