From: Carl Hetherington Date: Sun, 3 Sep 2017 20:33:27 +0000 (+0100) Subject: Get private data location from the environment if it's present. X-Git-Tag: v2.11.23~16 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=b1c4e8572d182a84b9013cc9b640439621660a2f Get private data location from the environment if it's present. --- 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 ()