From eaac013b4e68dea48fb2c3070b7c7ca59dfd1b96 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 17 Jul 2012 15:14:14 +0100 Subject: Hack asdcplib to make its RNG repeatable when we are testing. --- test/tests.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/tests.cc') 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 +#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"; -- cgit v1.2.3