summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-02-05 19:35:30 +0000
committerCarl Hetherington <cth@carlh.net>2013-02-05 19:35:30 +0000
commit0365080bf27206473ff57c32cde9f44ea2099a4f (patch)
tree1ac19ddc7711d77b645bacd323178fc147ac13da
parentb3ca04718ea6205afc1a3177018e10469fb552a2 (diff)
Fix build on Windows.
-rw-r--r--test/tests.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/tests.cc b/test/tests.cc
index eb5d0991..62cab54c 100644
--- a/test/tests.cc
+++ b/test/tests.cc
@@ -594,7 +594,10 @@ BOOST_AUTO_TEST_CASE (recovery)
fclose (f);
}
+#ifdef LIBDCP_POSIX
+ /* XXX: fix this posix-only stuff */
Kumu::ResetTestRNG ();
+#endif
boost::filesystem::remove_all ("build/test/baz");
boost::filesystem::create_directories ("build/test/baz");
@@ -622,7 +625,9 @@ BOOST_AUTO_TEST_CASE (recovery)
fclose (f);
}
+#ifdef LIBDCP_POSIX
Kumu::ResetTestRNG ();
+#endif
mp.reset (new libdcp::MonoPictureAsset ("build/test/baz", "video2.mxf", 24, libdcp::Size (32, 32)));
writer = mp->start_write (true);