diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-09-03 21:33:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-09-03 21:33:27 +0100 |
| commit | b1c4e8572d182a84b9013cc9b640439621660a2f (patch) | |
| tree | 0e3db39ed6270dc9d705be39b7673e23f8600acf /test | |
| parent | 734faed493c1c824659714473d24917109120de4 (diff) | |
Get private data location from the environment if it's present.
Diffstat (limited to 'test')
| -rw-r--r-- | test/test.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test.cc b/test/test.cc index 95d84bcc9..15fd6a3ab 100644 --- a/test/test.cc +++ b/test/test.cc @@ -101,6 +101,11 @@ struct TestConfig EncodeServerFinder::instance()->stop (); signal_manager = new TestSignalManager (); + + char* env_private = getenv("DCPOMATIC_TEST_PRIVATE"); + if (env_private) { + private_data = env_private; + } } ~TestConfig () |
