projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make unit tests use their own configuration rather than whatever
[dcpomatic.git]
/
test
/
test.cc
diff --git
a/test/test.cc
b/test/test.cc
index 32d32f98879f8ddefcf16f7d19447085d5d873a6..8f8db37146d699234e4568801c8048f2f32a5453 100644
(file)
--- a/
test/test.cc
+++ b/
test/test.cc
@@
-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 ();