Try to ensure that recover tests happen in order, to hopefully fix seemingly-random...
authorCarl Hetherington <cth@carlh.net>
Thu, 14 Feb 2019 11:34:52 +0000 (11:34 +0000)
committerCarl Hetherington <cth@carlh.net>
Thu, 14 Feb 2019 11:34:52 +0000 (11:34 +0000)
test/recover_test.cc

index 0a73b0c23270cf2281ec4cfb928ca613edbd47bf..7a37020de7034f7653c5b41a4f9315c40e1c0b9a 100644 (file)
@@ -80,7 +80,7 @@ BOOST_AUTO_TEST_CASE (recover_test_2d)
        BOOST_CHECK (A->equals (B, eq, boost::bind (&note, _1, _2)));
 }
 
-BOOST_AUTO_TEST_CASE (recover_test_3d)
+BOOST_AUTO_TEST_CASE (recover_test_3d, * boost::unit_test::depends_on("recover_test_2d"))
 {
        shared_ptr<Film> film = new_test_film ("recover_test_3d");
        film->set_interop (false);
@@ -117,7 +117,7 @@ BOOST_AUTO_TEST_CASE (recover_test_3d)
 }
 
 
-BOOST_AUTO_TEST_CASE (recover_test_2d_encrypted)
+BOOST_AUTO_TEST_CASE (recover_test_2d_encrypted, * boost::unit_test::depends_on("recover_test_3d")))
 {
        shared_ptr<Film> film = new_test_film ("recover_test_2d_encrypted");
        film->set_interop (false);