diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-11-02 23:14:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-11-03 11:29:27 +0100 |
| commit | 7846d4bfb77c117d931aad20239941a491492a78 (patch) | |
| tree | bc0d2319ba1400b8d661453c047bc39d417dc1ea /test/vf_kdm_test.cc | |
| parent | 91e0b544b6f1b5d3c017a6dc144aade3bc39c78d (diff) | |
Add ConfigRestorer and use it instead of setup_test_config() directly.
Diffstat (limited to 'test/vf_kdm_test.cc')
| -rw-r--r-- | test/vf_kdm_test.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/vf_kdm_test.cc b/test/vf_kdm_test.cc index 44d497e6d..5248ee798 100644 --- a/test/vf_kdm_test.cc +++ b/test/vf_kdm_test.cc @@ -47,6 +47,8 @@ using std::vector; BOOST_AUTO_TEST_CASE (vf_kdm_test) { + ConfigRestorer cr; + /* Make an encrypted DCP from test.mp4 */ auto A = new_test_film ("vf_kdm_test_ov"); @@ -124,7 +126,4 @@ BOOST_AUTO_TEST_CASE (vf_kdm_test) /* Should be 1s red, 1s green, 1s blue */ check_dcp ("test/data/vf_kdm_test_check", "build/test/vf_kdm_test_check/" + C->dcp_name()); - - /* Restore the reference decryption chain */ - setup_test_config (); } |
