diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-17 15:14:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-17 15:14:14 +0100 |
| commit | eaac013b4e68dea48fb2c3070b7c7ca59dfd1b96 (patch) | |
| tree | 782b6af4e27104273afb7713c66c9e1d1dbd2fb4 /test/tests.cc | |
| parent | aa1ea57fbbfe775168dacceb707a1dc80dc02dae (diff) | |
Hack asdcplib to make its RNG repeatable when we are testing.
Diffstat (limited to 'test/tests.cc')
| -rw-r--r-- | test/tests.cc | 5 |
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"; |
