Remove dead code branches (#6875)

This commit is contained in:
Dennis Luxen
2024-05-10 20:21:41 +02:00
committed by GitHub
parent 3254686933
commit dff76d31d5
3 changed files with 1 additions and 16 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#include <boost/test/floating_point_comparison.hpp>
#include <boost/test/tools/floating_point_comparison.hpp>
#include <boost/test/unit_test.hpp>
#include "engine/polyline_compressor.hpp"
-3
View File
@@ -189,8 +189,6 @@ BOOST_AUTO_TEST_CASE(continue_write_tar_file)
CHECK_EQUAL_COLLECTIONS(result_64bit_vector, vector_64bit);
}
// Boost test only supports disabling was only introduced in 1.59
#if BOOST_VERSION >= 105900
// This test case is disabled by default because it needs 10 GiB of storage
// Enable with ./storage-tests --run_test=tar/write_huge_tar_file
BOOST_AUTO_TEST_CASE(write_huge_tar_file, *boost::unit_test::disabled())
@@ -223,6 +221,5 @@ BOOST_AUTO_TEST_CASE(write_huge_tar_file, *boost::unit_test::disabled())
BOOST_CHECK_EQUAL(checksum, reference_checksum);
}
#endif
BOOST_AUTO_TEST_SUITE_END()