diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-29 23:17:53 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-29 23:17:53 +0200 |
| commit | 4f652387cbeeda9b7b8ace71e047c450acf5c871 (patch) | |
| tree | 7b14894461cb883dbb100d6b9d4b8aeafe6624f0 /test/test.cc | |
| parent | 742fe66c1331fe80752e8577d914085aae8945c2 (diff) | |
Make unit tests use their own configuration rather than whatever
happens to be in $HOME.
This is especially important for signer certificates; without this
it looks like the ones from $HOME will be used.
Diffstat (limited to 'test/test.cc')
| -rw-r--r-- | test/test.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test.cc b/test/test.cc index 32d32f988..8f8db3714 100644 --- 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 (); |
