projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
734faed
)
Get private data location from the environment if it's present.
author
Carl Hetherington
<cth@carlh.net>
Sun, 3 Sep 2017 20:33:27 +0000
(21:33 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 3 Sep 2017 20:33:27 +0000
(21:33 +0100)
test/test.cc
patch
|
blob
|
history
diff --git
a/test/test.cc
b/test/test.cc
index 95d84bcc907f92d62c6fe87a60a672e9cf999583..15fd6a3ab14a6dcec6d3770bd9fabc8f52dc4203 100644
(file)
--- 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 ()