From 2a466391f79f3cab480f83ac0228049f050a54c6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 4 Feb 2026 23:46:20 +0100 Subject: Test fixes for 2.20. --- test/config_test.cc | 24 ++++++++++++------------ test/data | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/test/config_test.cc b/test/config_test.cc index ae3d0ca47..a3b3854f6 100644 --- a/test/config_test.cc +++ b/test/config_test.cc @@ -162,7 +162,7 @@ BOOST_AUTO_TEST_CASE (config_write_utf8_test) } -/* 2.14 -> 2.18 */ +/* 2.14 -> 2.20 */ BOOST_AUTO_TEST_CASE (config_upgrade_test1) { boost::filesystem::path dir = "build/test/config_upgrade_test1"; @@ -194,18 +194,18 @@ BOOST_AUTO_TEST_CASE (config_upgrade_test1) #if defined(DCPOMATIC_WINDOWS) /* This file has the windows path for dkdm_recipients.xml (with backslashes) */ - check_xml(dir / "2.18" / "config.xml", "test/data/2.18.config.windows.sqlite.xml", {}); + check_xml(dir / "2.20" / "config.xml", "test/data/2.20.config.windows.sqlite.xml", {}); #elif defined(DCPOMATIC_GROK) - check_xml(dir / "2.18" / "config.xml", "test/data/2.18.config.sqlite.grok.xml", {}); + check_xml(dir / "2.20" / "config.xml", "test/data/2.20.config.sqlite.grok.xml", {}); #else - check_xml(dir / "2.18" / "config.xml", "test/data/2.18.config.sqlite.xml", {}); + check_xml(dir / "2.20" / "config.xml", "test/data/2.20.config.sqlite.xml", {}); #endif - /* cinemas.xml is not copied into 2.18 as its format has not changed */ - BOOST_REQUIRE (!boost::filesystem::exists(dir / "2.18" / "cinemas.xml")); + /* cinemas.xml is not copied into 2.20 as its format has not changed */ + BOOST_REQUIRE (!boost::filesystem::exists(dir / "2.20" / "cinemas.xml")); } -/* 2.16 -> 2.18 */ +/* 2.16 -> 2.20 */ BOOST_AUTO_TEST_CASE (config_upgrade_test2) { boost::filesystem::path dir = "build/test/config_upgrade_test2"; @@ -229,17 +229,17 @@ BOOST_AUTO_TEST_CASE (config_upgrade_test2) check_xml(dir / "cinemas.xml", "test/data/2.14.cinemas.xml", {}); #if defined(DCPOMATIC_WINDOWS) /* This file has the windows path for dkdm_recipients.xml (with backslashes) */ - check_xml(dir / "2.18" / "config.xml", "test/data/2.18.config.windows.xml", {}); + check_xml(dir / "2.20" / "config.xml", "test/data/2.20.config.windows.xml", {}); check_xml(dir / "config.xml", "test/data/2.16.config.windows.xml", {}); #elif defined(DCPOMATIC_GROK) - check_xml(dir / "2.18" / "config.xml", "test/data/2.18.config.grok.xml", {}); + check_xml(dir / "2.20" / "config.xml", "test/data/2.20.config.grok.xml", {}); check_xml(dir / "config.xml", "test/data/2.16.config.xml", {}); #else - check_xml(dir / "2.18" / "config.xml", "test/data/2.18.config.xml", {}); + check_xml(dir / "2.20" / "config.xml", "test/data/2.20.config.xml", {}); check_xml(dir / "config.xml", "test/data/2.16.config.xml", {}); #endif - /* cinemas.xml is not copied into 2.18 as its format has not changed */ - BOOST_REQUIRE (!boost::filesystem::exists(dir / "2.18" / "cinemas.xml")); + /* cinemas.xml is not copied into 2.20 as its format has not changed */ + BOOST_REQUIRE (!boost::filesystem::exists(dir / "2.20" / "cinemas.xml")); } diff --git a/test/data b/test/data index 70a0d1744..fd28e671b 160000 --- a/test/data +++ b/test/data @@ -1 +1 @@ -Subproject commit 70a0d1744eec44f415f9f3bb7397f70d2b1d18bf +Subproject commit fd28e671bd5bcfdad77997c3132762be58e501f2 -- cgit v1.2.3