summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-08-25 11:47:26 +0200
committerCarl Hetherington <cth@carlh.net>2025-08-25 11:55:16 +0200
commit97570ebdf7c0dc12a8218a143e2803ec7a792526 (patch)
tree6c0a94e3019f09da352228cac3f49295a5a0558c /test
parentb583ec397c812ba11280163d7c480a2e0d6bb3e6 (diff)
Write subtitles and fonts to subdirectories when combining Interop (#3079).v1.10.25
Diffstat (limited to 'test')
-rw-r--r--test/combine_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/combine_test.cc b/test/combine_test.cc
index a6df6f06..402a8c72 100644
--- a/test/combine_test.cc
+++ b/test/combine_test.cc
@@ -532,6 +532,11 @@ BOOST_AUTO_TEST_CASE(combine_ov_with_vf)
for (auto i: boost::filesystem::recursive_directory_iterator(out_path)) {
if (boost::filesystem::extension(i.path()) == ".xml" && i.path().filename().string().substr(0, 3) == "sub") {
++sub_files;
+ std::vector<boost::filesystem::path> parts;
+ for (auto j: i.path().lexically_relative(out_path)) {
+ parts.push_back(j);
+ }
+ BOOST_CHECK_EQUAL(parts.size(), 2U);
}
}