summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-17 15:14:14 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-17 15:14:14 +0100
commiteaac013b4e68dea48fb2c3070b7c7ca59dfd1b96 (patch)
tree782b6af4e27104273afb7713c66c9e1d1dbd2fb4 /test
parentaa1ea57fbbfe775168dacceb707a1dc80dc02dae (diff)
Hack asdcplib to make its RNG repeatable when we are testing.
Diffstat (limited to 'test')
-rw-r--r--test/tests.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/tests.cc b/test/tests.cc
index dd9ed07d..ec7cc688 100644
--- a/test/tests.cc
+++ b/test/tests.cc
@@ -18,6 +18,7 @@
*/
#include <boost/filesystem.hpp>
+#include "KM_prng.h"
#include "dcp.h"
#include "util.h"
#include "tags.h"
@@ -31,8 +32,8 @@ using namespace boost;
BOOST_AUTO_TEST_CASE (dcp_test)
{
- libdcp::libdcp_test = true;
-
+ Kumu::libdcp_test = true;
+
libdcp::Tags* t = libdcp::Tags::instance ();
t->issuer = "OpenDCP 0.0.25";
t->creator = "OpenDCP 0.0.25";