Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package Catch2 for openSUSE:Factory checked in at 2024-01-21 23:07:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Catch2 (Old) and /work/SRC/openSUSE:Factory/.Catch2.new.16006 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Catch2" Sun Jan 21 23:07:08 2024 rev:16 rq:1140093 version:3.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/Catch2/Catch2.changes 2024-01-04 15:58:05.414037273 +0100 +++ /work/SRC/openSUSE:Factory/.Catch2.new.16006/Catch2.changes 2024-01-21 23:07:11.542959904 +0100 @@ -1,0 +2,9 @@ +Fri Jan 19 18:58:25 UTC 2024 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 3.5.2: + * Fixed -Wsubobject-linkage in the Console reporter + (gh#catchorg/Catch2#2794). + * Fixed adding new CLI Options to lvalue parser using | + (gh#catchorg/Catch2#2787). + +------------------------------------------------------------------- Old: ---- Catch2-3.5.1.tar.gz New: ---- Catch2-3.5.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Catch2.spec ++++++ --- /var/tmp/diff_new_pack.9JWf2H/_old 2024-01-21 23:07:12.294987317 +0100 +++ /var/tmp/diff_new_pack.9JWf2H/_new 2024-01-21 23:07:12.298987462 +0100 @@ -18,7 +18,7 @@ %define __builder ninja Name: Catch2 -Version: 3.5.1 +Version: 3.5.2 Release: 0 Summary: A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD License: BSL-1.0 ++++++ Catch2-3.5.1.tar.gz -> Catch2-3.5.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/CMake/CatchMiscFunctions.cmake new/Catch2-3.5.2/CMake/CatchMiscFunctions.cmake --- old/Catch2-3.5.1/CMake/CatchMiscFunctions.cmake 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/CMake/CatchMiscFunctions.cmake 2024-01-15 14:13:53.000000000 +0100 @@ -78,6 +78,7 @@ "-Wreturn-std-move" "-Wshadow" "-Wstrict-aliasing" + "-Wsubobject-linkage" "-Wsuggest-destructor-override" "-Wsuggest-override" "-Wundef" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/CMakeLists.txt new/Catch2-3.5.2/CMakeLists.txt --- old/Catch2-3.5.1/CMakeLists.txt 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/CMakeLists.txt 2024-01-15 14:13:53.000000000 +0100 @@ -33,7 +33,7 @@ endif() project(Catch2 - VERSION 3.5.1 # CML version placeholder, don't delete + VERSION 3.5.2 # CML version placeholder, don't delete LANGUAGES CXX # HOMEPAGE_URL is not supported until CMake version 3.12, which # we do not target yet. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/docs/release-notes.md new/Catch2-3.5.2/docs/release-notes.md --- old/Catch2-3.5.1/docs/release-notes.md 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/docs/release-notes.md 2024-01-15 14:13:53.000000000 +0100 @@ -2,6 +2,7 @@ # Release notes **Contents**<br> +[3.5.2](#352)<br> [3.5.1](#351)<br> [3.5.0](#350)<br> [3.4.0](#340)<br> @@ -60,6 +61,13 @@ ## 3.5.1 + +### Fixes +* Fixed `-Wsubobject-linkage` in the Console reporter (#2794) +* Fixed adding new CLI Options to lvalue parser using `|` (#2787) + + +## 3.5.1 ### Improvements * Significantly improved performance of the CLI parsing. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/examples/232-Cfg-CustomMain.cpp new/Catch2-3.5.2/examples/232-Cfg-CustomMain.cpp --- old/Catch2-3.5.1/examples/232-Cfg-CustomMain.cpp 1970-01-01 01:00:00.000000000 +0100 +++ new/Catch2-3.5.2/examples/232-Cfg-CustomMain.cpp 2024-01-15 14:13:53.000000000 +0100 @@ -0,0 +1,41 @@ + +// Copyright Catch2 Authors +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE.txt or copy at +// https://www.boost.org/LICENSE_1_0.txt) + +// SPDX-License-Identifier: BSL-1.0 + +// 232-Cfg-CustomMain.cpp +// Show how to use custom main and add a custom option to the CLI parser + +#include <catch2/catch_session.hpp> + +#include <iostream> + +int main(int argc, char** argv) { + Catch::Session session; // There must be exactly one instance + + int height = 0; // Some user variable you want to be able to set + + // Build a new parser on top of Catch2's + using namespace Catch::Clara; + auto cli + = session.cli() // Get Catch2's command line parser + | Opt( height, "height" ) // bind variable to a new option, with a hint string + ["--height"] // the option names it will respond to + ("how high?"); // description string for the help output + + // Now pass the new composite back to Catch2 so it uses that + session.cli( cli ); + + // Let Catch2 (using Clara) parse the command line + int returnCode = session.applyCommandLine( argc, argv ); + if( returnCode != 0 ) // Indicates a command line error + return returnCode; + + // if set on the command line then 'height' is now set at this point + std::cout << "height: " << height << std::endl; + + return session.run(); +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/examples/CMakeLists.txt new/Catch2-3.5.2/examples/CMakeLists.txt --- old/Catch2-3.5.1/examples/CMakeLists.txt 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/examples/CMakeLists.txt 2024-01-15 14:13:53.000000000 +0100 @@ -30,6 +30,7 @@ 110-Fix-ClassFixture.cpp 120-Bdd-ScenarioGivenWhenThen.cpp 210-Evt-EventListeners.cpp + 232-Cfg-CustomMain.cpp 300-Gen-OwnGenerator.cpp 301-Gen-MapTypeConversion.cpp 302-Gen-Table.cpp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/extras/catch_amalgamated.cpp new/Catch2-3.5.2/extras/catch_amalgamated.cpp --- old/Catch2-3.5.1/extras/catch_amalgamated.cpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/extras/catch_amalgamated.cpp 2024-01-15 14:13:53.000000000 +0100 @@ -6,8 +6,8 @@ // SPDX-License-Identifier: BSL-1.0 -// Catch v3.5.1 -// Generated: 2023-12-31 15:10:55.864983 +// Catch v3.5.2 +// Generated: 2024-01-15 14:06:36.675713 // ---------------------------------------------------------- // This file is an amalgamation of multiple different files. // You probably shouldn't edit it directly. @@ -187,21 +187,16 @@ double const* last, Estimator& estimator ) { auto n = static_cast<size_t>( last - first ); - std::uniform_int_distribution<decltype( n )> dist( 0, - n - 1 ); + std::uniform_int_distribution<size_t> dist( 0, n - 1 ); sample out; out.reserve( resamples ); - // We allocate the vector outside the loop to avoid realloc - // per resample std::vector<double> resampled; resampled.reserve( n ); for ( size_t i = 0; i < resamples; ++i ) { resampled.clear(); for ( size_t s = 0; s < n; ++s ) { - resampled.push_back( - first[static_cast<std::ptrdiff_t>( - dist( rng ) )] ); + resampled.push_back( first[dist( rng )] ); } const auto estimate = estimator( resampled.data(), resampled.data() + resampled.size() ); @@ -2273,7 +2268,7 @@ } Version const& libraryVersion() { - static Version version( 3, 5, 1, "", 0 ); + static Version version( 3, 5, 2, "", 0 ); return version; } @@ -4380,7 +4375,6 @@ CATCH_ENFORCE( !m_ofs.fail(), "Unable to open file: '" << filename << '\'' ); m_ofs << std::unitbuf; } - ~FileStream() override = default; public: // IStream std::ostream& stream() override { return m_ofs; @@ -4395,7 +4389,6 @@ // Store the streambuf from cout up-front because // cout may get redirected when running tests CoutStream() : m_os( Catch::cout().rdbuf() ) {} - ~CoutStream() override = default; public: // IStream std::ostream& stream() override { return m_os; } @@ -4409,7 +4402,6 @@ // Store the streambuf from cerr up-front because // cout may get redirected when running tests CerrStream(): m_os( Catch::cerr().rdbuf() ) {} - ~CerrStream() override = default; public: // IStream std::ostream& stream() override { return m_os; } @@ -4427,8 +4419,6 @@ m_os( m_streamBuf.get() ) {} - ~DebugOutStream() override = default; - public: // IStream std::ostream& stream() override { return m_os; } }; @@ -5441,7 +5431,6 @@ TrackerContext& ctx, ITracker* parent ): TrackerBase( CATCH_MOVE( nameAndLocation ), ctx, parent ) {} - ~GeneratorTracker() override = default; static GeneratorTracker* acquire( TrackerContext& ctx, @@ -8799,13 +8788,6 @@ return l; } -enum class Justification { Left, Right }; - -struct ColumnInfo { - std::string name; - std::size_t width; - Justification justification; -}; struct ColumnBreak {}; struct RowBreak {}; struct OutputFlush {}; @@ -8883,6 +8865,14 @@ }; } // end anon namespace +enum class Justification { Left, Right }; + +struct ColumnInfo { + std::string name; + std::size_t width; + Justification justification; +}; + class TablePrinter { std::ostream& m_os; std::vector<ColumnInfo> m_columnInfos; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/extras/catch_amalgamated.hpp new/Catch2-3.5.2/extras/catch_amalgamated.hpp --- old/Catch2-3.5.1/extras/catch_amalgamated.hpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/extras/catch_amalgamated.hpp 2024-01-15 14:13:53.000000000 +0100 @@ -6,8 +6,8 @@ // SPDX-License-Identifier: BSL-1.0 -// Catch v3.5.1 -// Generated: 2023-12-31 15:10:53.044176 +// Catch v3.5.2 +// Generated: 2024-01-15 14:06:34.036475 // ---------------------------------------------------------- // This file is an amalgamation of multiple different files. // You probably shouldn't edit it directly. @@ -3766,7 +3766,7 @@ bool benchmarkNoAnalysis = false; unsigned int benchmarkSamples = 100; double benchmarkConfidenceInterval = 0.95; - unsigned int benchmarkResamples = 100000; + unsigned int benchmarkResamples = 100'000; std::chrono::milliseconds::rep benchmarkWarmupTime = 100; Verbosity verbosity = Verbosity::Normal; @@ -4825,7 +4825,9 @@ template <typename T> friend Parser operator|( Parser const& p, T&& rhs ) { - return Parser( p ) |= CATCH_FORWARD(rhs); + Parser temp( p ); + temp |= rhs; + return temp; } template <typename T> @@ -7146,7 +7148,7 @@ #define CATCH_VERSION_MAJOR 3 #define CATCH_VERSION_MINOR 5 -#define CATCH_VERSION_PATCH 1 +#define CATCH_VERSION_PATCH 2 #endif // CATCH_VERSION_MACROS_HPP_INCLUDED @@ -7304,12 +7306,6 @@ } public: - ~IGenerator() override = default; - IGenerator() = default; - IGenerator(IGenerator const&) = default; - IGenerator& operator=(IGenerator const&) = default; - - // Returns the current element of the generator // // \Precondition The generator is either freshly constructed, @@ -10707,8 +10703,6 @@ class TestRegistry : public ITestCaseRegistry { public: - ~TestRegistry() override = default; - void registerTest( Detail::unique_ptr<TestCaseInfo> testInfo, Detail::unique_ptr<ITestInvoker> testInvoker ); std::vector<TestCaseInfo*> const& getAllInfos() const override; @@ -13376,8 +13370,6 @@ public: JunitReporter(ReporterConfig&& _config); - ~JunitReporter() override = default; - static std::string getDescription(); void testRunStarting(TestRunInfo const& runInfo) override; @@ -13618,8 +13610,6 @@ m_shouldStoreSuccesfulAssertions = false; } - ~SonarQubeReporter() override = default; - static std::string getDescription() { using namespace std::string_literals; return "Reports test results in the Generic Test Data SonarQube XML format"s; @@ -13666,7 +13656,6 @@ StreamingReporterBase( CATCH_MOVE(config) ) { m_preferences.shouldReportAllAssertions = true; } - ~TAPReporter() override = default; static std::string getDescription() { using namespace std::string_literals; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/meson.build new/Catch2-3.5.2/meson.build --- old/Catch2-3.5.1/meson.build 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/meson.build 2024-01-15 14:13:53.000000000 +0100 @@ -8,7 +8,7 @@ project( 'catch2', 'cpp', - version: '3.5.1', # CML version placeholder, don't delete + version: '3.5.2', # CML version placeholder, don't delete license: 'BSL-1.0', meson_version: '>=0.54.1', ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/src/catch2/benchmark/detail/catch_stats.cpp new/Catch2-3.5.2/src/catch2/benchmark/detail/catch_stats.cpp --- old/Catch2-3.5.1/src/catch2/benchmark/detail/catch_stats.cpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/src/catch2/benchmark/detail/catch_stats.cpp 2024-01-15 14:13:53.000000000 +0100 @@ -38,21 +38,16 @@ double const* last, Estimator& estimator ) { auto n = static_cast<size_t>( last - first ); - std::uniform_int_distribution<decltype( n )> dist( 0, - n - 1 ); + std::uniform_int_distribution<size_t> dist( 0, n - 1 ); sample out; out.reserve( resamples ); - // We allocate the vector outside the loop to avoid realloc - // per resample std::vector<double> resampled; resampled.reserve( n ); for ( size_t i = 0; i < resamples; ++i ) { resampled.clear(); for ( size_t s = 0; s < n; ++s ) { - resampled.push_back( - first[static_cast<std::ptrdiff_t>( - dist( rng ) )] ); + resampled.push_back( first[dist( rng )] ); } const auto estimate = estimator( resampled.data(), resampled.data() + resampled.size() ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/src/catch2/catch_config.hpp new/Catch2-3.5.2/src/catch2/catch_config.hpp --- old/Catch2-3.5.1/src/catch2/catch_config.hpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/src/catch2/catch_config.hpp 2024-01-15 14:13:53.000000000 +0100 @@ -69,7 +69,7 @@ bool benchmarkNoAnalysis = false; unsigned int benchmarkSamples = 100; double benchmarkConfidenceInterval = 0.95; - unsigned int benchmarkResamples = 100000; + unsigned int benchmarkResamples = 100'000; std::chrono::milliseconds::rep benchmarkWarmupTime = 100; Verbosity verbosity = Verbosity::Normal; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/src/catch2/catch_version.cpp new/Catch2-3.5.2/src/catch2/catch_version.cpp --- old/Catch2-3.5.1/src/catch2/catch_version.cpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/src/catch2/catch_version.cpp 2024-01-15 14:13:53.000000000 +0100 @@ -36,7 +36,7 @@ } Version const& libraryVersion() { - static Version version( 3, 5, 1, "", 0 ); + static Version version( 3, 5, 2, "", 0 ); return version; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/src/catch2/catch_version_macros.hpp new/Catch2-3.5.2/src/catch2/catch_version_macros.hpp --- old/Catch2-3.5.1/src/catch2/catch_version_macros.hpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/src/catch2/catch_version_macros.hpp 2024-01-15 14:13:53.000000000 +0100 @@ -10,6 +10,6 @@ #define CATCH_VERSION_MAJOR 3 #define CATCH_VERSION_MINOR 5 -#define CATCH_VERSION_PATCH 1 +#define CATCH_VERSION_PATCH 2 #endif // CATCH_VERSION_MACROS_HPP_INCLUDED diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/src/catch2/generators/catch_generators.hpp new/Catch2-3.5.2/src/catch2/generators/catch_generators.hpp --- old/Catch2-3.5.1/src/catch2/generators/catch_generators.hpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/src/catch2/generators/catch_generators.hpp 2024-01-15 14:13:53.000000000 +0100 @@ -37,12 +37,6 @@ } public: - ~IGenerator() override = default; - IGenerator() = default; - IGenerator(IGenerator const&) = default; - IGenerator& operator=(IGenerator const&) = default; - - // Returns the current element of the generator // // \Precondition The generator is either freshly constructed, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/src/catch2/internal/catch_clara.hpp new/Catch2-3.5.2/src/catch2/internal/catch_clara.hpp --- old/Catch2-3.5.1/src/catch2/internal/catch_clara.hpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/src/catch2/internal/catch_clara.hpp 2024-01-15 14:13:53.000000000 +0100 @@ -673,7 +673,9 @@ template <typename T> friend Parser operator|( Parser const& p, T&& rhs ) { - return Parser( p ) |= CATCH_FORWARD(rhs); + Parser temp( p ); + temp |= rhs; + return temp; } template <typename T> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/src/catch2/internal/catch_istream.cpp new/Catch2-3.5.2/src/catch2/internal/catch_istream.cpp --- old/Catch2-3.5.1/src/catch2/internal/catch_istream.cpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/src/catch2/internal/catch_istream.cpp 2024-01-15 14:13:53.000000000 +0100 @@ -80,7 +80,6 @@ CATCH_ENFORCE( !m_ofs.fail(), "Unable to open file: '" << filename << '\'' ); m_ofs << std::unitbuf; } - ~FileStream() override = default; public: // IStream std::ostream& stream() override { return m_ofs; @@ -95,7 +94,6 @@ // Store the streambuf from cout up-front because // cout may get redirected when running tests CoutStream() : m_os( Catch::cout().rdbuf() ) {} - ~CoutStream() override = default; public: // IStream std::ostream& stream() override { return m_os; } @@ -109,7 +107,6 @@ // Store the streambuf from cerr up-front because // cout may get redirected when running tests CerrStream(): m_os( Catch::cerr().rdbuf() ) {} - ~CerrStream() override = default; public: // IStream std::ostream& stream() override { return m_os; } @@ -127,8 +124,6 @@ m_os( m_streamBuf.get() ) {} - ~DebugOutStream() override = default; - public: // IStream std::ostream& stream() override { return m_os; } }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/src/catch2/internal/catch_run_context.cpp new/Catch2-3.5.2/src/catch2/internal/catch_run_context.cpp --- old/Catch2-3.5.1/src/catch2/internal/catch_run_context.cpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/src/catch2/internal/catch_run_context.cpp 2024-01-15 14:13:53.000000000 +0100 @@ -38,7 +38,6 @@ TrackerContext& ctx, ITracker* parent ): TrackerBase( CATCH_MOVE( nameAndLocation ), ctx, parent ) {} - ~GeneratorTracker() override = default; static GeneratorTracker* acquire( TrackerContext& ctx, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/src/catch2/internal/catch_test_case_registry_impl.hpp new/Catch2-3.5.2/src/catch2/internal/catch_test_case_registry_impl.hpp --- old/Catch2-3.5.1/src/catch2/internal/catch_test_case_registry_impl.hpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/src/catch2/internal/catch_test_case_registry_impl.hpp 2024-01-15 14:13:53.000000000 +0100 @@ -30,8 +30,6 @@ class TestRegistry : public ITestCaseRegistry { public: - ~TestRegistry() override = default; - void registerTest( Detail::unique_ptr<TestCaseInfo> testInfo, Detail::unique_ptr<ITestInvoker> testInvoker ); std::vector<TestCaseInfo*> const& getAllInfos() const override; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/src/catch2/reporters/catch_reporter_console.cpp new/Catch2-3.5.2/src/catch2/reporters/catch_reporter_console.cpp --- old/Catch2-3.5.1/src/catch2/reporters/catch_reporter_console.cpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/src/catch2/reporters/catch_reporter_console.cpp 2024-01-15 14:13:53.000000000 +0100 @@ -209,13 +209,6 @@ return l; } -enum class Justification { Left, Right }; - -struct ColumnInfo { - std::string name; - std::size_t width; - Justification justification; -}; struct ColumnBreak {}; struct RowBreak {}; struct OutputFlush {}; @@ -293,6 +286,14 @@ }; } // end anon namespace +enum class Justification { Left, Right }; + +struct ColumnInfo { + std::string name; + std::size_t width; + Justification justification; +}; + class TablePrinter { std::ostream& m_os; std::vector<ColumnInfo> m_columnInfos; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/src/catch2/reporters/catch_reporter_junit.hpp new/Catch2-3.5.2/src/catch2/reporters/catch_reporter_junit.hpp --- old/Catch2-3.5.1/src/catch2/reporters/catch_reporter_junit.hpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/src/catch2/reporters/catch_reporter_junit.hpp 2024-01-15 14:13:53.000000000 +0100 @@ -19,8 +19,6 @@ public: JunitReporter(ReporterConfig&& _config); - ~JunitReporter() override = default; - static std::string getDescription(); void testRunStarting(TestRunInfo const& runInfo) override; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/src/catch2/reporters/catch_reporter_sonarqube.hpp new/Catch2-3.5.2/src/catch2/reporters/catch_reporter_sonarqube.hpp --- old/Catch2-3.5.1/src/catch2/reporters/catch_reporter_sonarqube.hpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/src/catch2/reporters/catch_reporter_sonarqube.hpp 2024-01-15 14:13:53.000000000 +0100 @@ -25,8 +25,6 @@ m_shouldStoreSuccesfulAssertions = false; } - ~SonarQubeReporter() override = default; - static std::string getDescription() { using namespace std::string_literals; return "Reports test results in the Generic Test Data SonarQube XML format"s; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/src/catch2/reporters/catch_reporter_tap.hpp new/Catch2-3.5.2/src/catch2/reporters/catch_reporter_tap.hpp --- old/Catch2-3.5.1/src/catch2/reporters/catch_reporter_tap.hpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/src/catch2/reporters/catch_reporter_tap.hpp 2024-01-15 14:13:53.000000000 +0100 @@ -19,7 +19,6 @@ StreamingReporterBase( CATCH_MOVE(config) ) { m_preferences.shouldReportAllAssertions = true; } - ~TAPReporter() override = default; static std::string getDescription() { using namespace std::string_literals; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Catch2-3.5.1/tests/SelfTest/IntrospectiveTests/FloatingPoint.tests.cpp new/Catch2-3.5.2/tests/SelfTest/IntrospectiveTests/FloatingPoint.tests.cpp --- old/Catch2-3.5.1/tests/SelfTest/IntrospectiveTests/FloatingPoint.tests.cpp 2023-12-31 15:15:04.000000000 +0100 +++ new/Catch2-3.5.2/tests/SelfTest/IntrospectiveTests/FloatingPoint.tests.cpp 2024-01-15 14:13:53.000000000 +0100 @@ -123,6 +123,12 @@ CHECK( count_floats_with_scaled_ulp( 1., 1.5 ) == 1ull << 51 ); CHECK( count_floats_with_scaled_ulp( 1.25, 1.5 ) == 1ull << 50 ); CHECK( count_floats_with_scaled_ulp( 1.f, 1.5f ) == 1 << 22 ); + CHECK( count_floats_with_scaled_ulp( -std::numeric_limits<float>::max(), + std::numeric_limits<float>::max() ) == + 33554430 ); // (1 << 25) - 2 due to not including infinities + CHECK( count_floats_with_scaled_ulp( -std::numeric_limits<double>::max(), + std::numeric_limits<double>::max() ) == + 18014398509481982 ); // (1 << 54) - 2 due to not including infinities STATIC_REQUIRE( std::is_same<std::uint64_t, decltype( count_floats_with_scaled_ulp(