summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-05-30 14:42:53 +0200
committerCarl Hetherington <cth@carlh.net>2023-05-30 14:42:53 +0200
commit6fc484fddc32ea7160ec8d9e16ffe1465c3be3ab (patch)
tree4fe402d805609c89f97e29461df8aad796094de5
parent05520f722348f30b19ab1d950f2d58016e02de55 (diff)
Add a test with hard-linking.
-rw-r--r--test/map_cli_test.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/map_cli_test.cc b/test/map_cli_test.cc
index 4b212ea39..59d88386b 100644
--- a/test/map_cli_test.cc
+++ b/test/map_cli_test.cc
@@ -211,7 +211,7 @@ BOOST_AUTO_TEST_CASE(map_simple_interop_dcp_with_subs)
static
void
-test_map_ov_vf_copy()
+test_map_ov_vf_copy(vector<string> extra_args = {})
{
string const name = "map_ov_vf_copy";
string const out = String::compose("build/test/%1_out", name);
@@ -230,7 +230,7 @@ test_map_ov_vf_copy()
auto const vf_dir = vf_film->dir(vf_film->dcp_name());
- vector<string> const args = {
+ vector<string> args = {
"map_cli",
"-o", out,
"-d", ov_dir.string(),
@@ -238,6 +238,8 @@ test_map_ov_vf_copy()
find_cpl(vf_dir).string()
};
+ args.insert(std::end(args), std::begin(extra_args), std::end(extra_args));
+
boost::filesystem::remove_all(out);
vector<string> output_messages;
@@ -256,6 +258,7 @@ test_map_ov_vf_copy()
BOOST_AUTO_TEST_CASE(map_ov_vf_copy)
{
test_map_ov_vf_copy();
+ test_map_ov_vf_copy({"-l"});
}
/** Map a single DCP into a new DCP using the rename option */