Make unit tests use their own configuration rather than whatever
[dcpomatic.git] / test / test.cc
index 32d32f98879f8ddefcf16f7d19447085d5d873a6..8f8db37146d699234e4568801c8048f2f32a5453 100644 (file)
@@ -107,6 +107,9 @@ struct TestConfig
 {
        TestConfig ()
        {
+               State::override_path = "build/test/state";
+               boost::filesystem::remove_all (*State::override_path);
+
                dcpomatic_setup ();
                setup_test_config ();