|
|
|
|
Changelog for Catch2-devel-3.5.3-1.1.4.1.i586.rpm :
* Tue Mar 12 2024 Atri Bhattacharya - Update to version 3.5.3: * Fixed OOB access when computing filename tag (from the -# flag) for file without extension (gh#catchorg/Catch2#2798). * Fixed the linking against log on Android to be PRIVATE (gh#catchorg/Catch2#2815). * Fixed Wuseless-cast in benchmarking internals (gh#catchorg/Catch2#2823). * Restored compatibility with VS2017 (gh#catchorg/Catch2#2792, gh#catchorg/Catch2#2822). * Suppressed clang-tidy\'s bugprone-chained-comparison in assertions (gh#catchorg/Catch2#2801). * Improved the static analysis mode to evaluate arguments to TEST_CASE and SECTION (gh#catchorg/Catch2#2817). * Added support for literal-zero detectors based on consteval constructors. * Disabled tests for FP random generator reproducibility on non-SSE2 x86 targets (gh#catchorg/Catch2#2796). * Modified the in-tree Conan recipe to support Conan 2 (gh#catchorg/Catch2#2805). * Fri Jan 19 2024 Atri Bhattacharya - 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). * Tue Jan 02 2024 Atri Bhattacharya - Update to version 3.5.1: * Significantly improved performance of the CLI parsing. * Added support for Bazel modules (gh#catchorg/Catch2#2781). * Added CMake option to disable the build reproducibility settings (gh#catchorg/Catch2#2785). * Added log library linking to the Meson build (gh#catchorg/Catch2#2784). * Fri Dec 15 2023 Atri Bhattacharya - Update to version 3.5.0: * Introduced CATCH_CONFIG_PREFIX_MESSAGES to prefix only logging macros (gh#catchorg/Catch2#2544). * Section hints in static analysis mode are now const. * from_range generator supports C arrays and ranges that require ADL (gh#catchorg/Catch2#2737). * Stringification support for std::optional now also includes std::nullopt (gh#catchorg/Catch2#2740). * The Console reporter flushes output after writing benchmark runtime estimate. * Added workaround to enable compilation with ICC 19.1 (gh#catchorg/Catch2#2551, gh#catchorg/Catch2#2766). * Compiling Catch2 for XBox should work out of the box (gh#catchorg/Catch2#2772). * Compiling Catch2 with exceptions disabled no longer triggers Wunused-function (gh#catchorg/Catch2#2726). * random Generators for integral types are now reproducible across different platforms. * random Generators for float and double are now reproducible across different platforms. * Fix: UDL declaration inside Catch2 are now strictly conforming to the standard. * Fixed CAPTURE tests failing to compile in C++23 mode (gh#catchorg/Catch2#2744). * Fixed missing include in catch_message.hpp (gh#catchorg/Catch2#2758). * Fixed CHECK_ELSE suppressing failure from uncaught exceptions(gh#catchorg/Catch2#2723). * Thu Jul 27 2023 Atri Bhattacharya - Update to version 3.4.0: * VectorEquals supports elements that provide only == and not != (gh#catchorg/Catch2#2648). * Catch2 supports compiling with IAR compiler (gh#catchorg/Catch2#2651). * Various small internal performance improvements. * Various small internal compilation time improvements. * XMLReporter now reports location info for INFO and WARN (gh#catchorg/Catch2#1251). * Documented that SKIP in generator constructor can be used to handle empty generator (gh#catchorg/Catch2#1593). * Added experimental static analysis support to TEST_CASE and SECTION macros (gh#catchorg/Catch2#2681). * *_THROWS, *_THROWS_AS, etc now suppress warning coming from __attribute__((warn_unused_result)) on GCC (gh#catchorg/Catch2#2691). * Fixed assertionStarting events being sent after the expr is evaluated (gh#catchorg/Catch2#2678). * Errors in TEST_CASE tags are now reported nicely (gh#catchorg/Catch2#2650). * Bunch of improvements to catch_discover_tests. * meson build can disable building tests (gh#catchorg/Catch2#2693). * meson build properly sets meson version 0.54.1 as the minimal supported version (gh#catchorg/Catch2#2688).- Use ninja for build. * Tue Mar 07 2023 Dirk Müller - update to 3.3.2: * Further reduced allocations * The compact, console, TAP and XML reporters perform less allocations in various cases * Removed 1 allocation per entered `SECTION`/`TEST_CASE`. * Removed 2 allocations per test case exit, if stdout/stderr is captured * Improved performance * Section tracking is 10%-25% faster than in v3.3.0 * Assertion handling is 5%-10% faster than in v3.3.0 * Test case registration is 1%-2% faster than in v3.3.0 * Tiny speedup for registering listeners * Tiny speedup for `CAPTURE`, `TEST_CASE_METHOD`, `METHOD_AS_TEST_CASE`, and `TEMPLATE_LIST_TEST_ *` macros. * `Contains`, `RangeEquals` and `UnorderedRangeEquals` matchers now support ranges with iterator + sentinel pair * Added `IsNaN` matcher * Unlike `REQUIRE(isnan(x))`, `REQUIRE_THAT(x, IsNaN())` shows you the value of `x`. * Suppressed `declared_but_not_referenced` warning for NVHPC (#2637) * Fixed performance regression in section tracking introduced in v3.3.1 * Extreme cases would cause the tracking to run about 4x slower than in 3.3.0 * Tue Feb 14 2023 Atri Bhattacharya - Update to version 3.3.1: * Reduced allocations and improved performance, mainly from smarter handling of `SECTION`s, especially sibling `SECTION`s. * Mon Jan 23 2023 Atri Bhattacharya - Update to version 3.3.0: * Added MessageMatches exception matcher (gh#catchorg/Catch2#2570). * Added RangeEquals and UnorderedRangeEquals generic range matchers (gh#catchorg/Catch2#2377). * Added SKIP macro for skipping tests from within the test body (gh#catchorg/Catch2#2360). * Restored support for PPC Macs in the break-into-debugger functionality (gh#catchorg/Catch2#2619). * Made our warning suppression compatible with CUDA toolkit pre 11.5 (gh#catchorg/Catch2#2626). * Cleaned out some static analysis complaints. * Fixed macro redefinition warning when NVCC was reporting as MSVC (gh#catchorg/Catch2#2603). * Fixed throws in generator constructor causing the whole binary to abort (gh#catchorg/Catch2#2615). * Fixed missing transitive include with libstdc++13 (gh#catchorg/Catch2#2611). * Improved support for dynamic library build with non-MSVC compilers on Windows (gh#catchorg/Catch2#2630). * When used as a subproject, Catch2 keeps its generated header in a separate directory from the main project (gh#catchorg/Catch2#2604). * Wed Jan 18 2023 Atri Bhattacharya - Update to version 3.2.1: * Fix the reworked decomposer to work with older (pre 9) GCC versions (gh#catchorg/Catch2#2571).- Changes from version 3.2.0: * Added `CATCH_CONFIG_GETENV` compile-time toggle * (gh#catchorg/Catch2#2562). * Added support for more Bazel test environment variables. * Bunch of small tweaks and improvements in reporters. * Added support for asserting on types that can only be compared * with literal 0 (gh#catchorg/Catch2#2555). * Simplified internals of matcher related macros. * Cleaned out some warnings and static analysis issues. * Fixed serialization of test filters so the output roundtrips. * Catch2\'s build no longer leaks `-ffile-prefix-map` setting to * dependees (gh#catchorg/Catch2#2533). * Sat Sep 24 2022 Ferdinand Thiessen - Update to 3.1.0 * Added type constraints onto random generator * Added All/Any/NoneTrue range matchers * The JUnit reporter now normalizes classnames from C++ namespaces to Java-like namespaces * The Bazel support now understands BAZEL_TEST environment variable * catch_discover_tests now has a new options for setting library load path(s) when running the Catch2 binary * Fixed crash when listing listeners without any registered listeners- Update to 3.0.1 * Breaking changes: * Catch2 is now split into multiple headers * C++14 is the minimum required C++ version * CATCH_CONFIG_DISABLE_MATCHERS no longer exists. * CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER no longer exists. * ANON_TEST_CASE has been removed * Multiple commandline flags have changed their behavior * See migration guide https://github.com/catchorg/Catch2/blob/v3.0.1/docs/migrate-v2-to-v3.md#top * Matchers have been extended with the ability to use different signatures of match * templated match member function * Provided generic matchers like IsEmpty, SizeIs, Contains, AllMatch, AnyMatch, NoneMatch * Significant compilation time improvements * Some runtime performance optimizations * Many other changes and bugfixes https://github.com/catchorg/Catch2/releases/tag/v3.0.1- Removed upstream merged fix-pragmas-old-gcc.patch * Tue Apr 26 2022 Ferdinand Thiessen - Update to 2.13.9 * Fixed issue with -# (filename-as-tag) flag when __FILE__ expands into filename without directories * Fixed CAPTURE macro not being variadic when disabled through CATCH_CONFIG_DISABLE- Update to 2.13.8 * Fix: Made Approx::operator() const * Improved pkg-config files * The macro-generated names for things like TEST_CASE no longer create reserved identifiers * Clang-tidy should no longer warn about missing virtual dispatch in FilterGenerator\'s constructor- Added fix-pragmas-old-gcc.patch * Thu Aug 05 2021 Luigi Baldoni - Update to version 2.13.7 Fixes: * Added missing `` include in benchmarking. * Fixed noexcept build with benchmarking enabled. * Fixed build for compilers with C++17 support but without C++17 library support. * JUnit only uses 3 decimal places when reporting durations. * `!mayfail` tagged tests are now marked as `skipped` in JUnit reporter output. * Mon May 03 2021 Ferdinand Thiessen - Update to version 2.13.6 * Disabling all signal handlers no longer breaks compilation * catch_discover_tests should handle escaped semicolon (;) better * Tue Apr 13 2021 Luigi Baldoni - Update to version 2.13.5 Improvements: * Added workaround for bug in XLC 16.1.0.1 * Add detection for LCC when it is masquerading as GCC * Modified posix signal handling so it supports newer libcs + `MINSIGSTKSZ` was no longer usable in constexpr context. Fixes: * Fixed compilation of benchmarking when `min` and `max` macros are defined + Including `windows.h` without `NOMINMAX` remains a really bad idea, don\'t do it Miscellaneous: * `Catch2WithMain` target (static library) is no longer built by default + Building it by default was at best unnecessary overhead for people not using it, and at worst it caused trouble with install paths + To have it built, set CMake option `CATCH_BUILD_STATIC_LIBRARY` to `ON` * The check whether Catch2 is being built as a subproject is now more reliable + The problem was that if the variable name used internally was defined the project including Catch2 as subproject, it would not be properly overwritten for Catch2\'s CMake. version 2.13.4 Improvements: * Improved the hashing algorithm used for shuffling test cases + `TEST_CASE`s that differ only in the last character should be properly shuffled + Note that this means that v2.13.4 gives you a different order of test cases than 2.13.3, even given the same seed. Miscellaneous: * Deprecated `ParseAndAddCatchTests` CMake integration + It is impossible to implement it properly for all the different test case variants Catch2 provides, and there are better options provided. + Use `catch_discover_tests` instead, which uses runtime information about available tests. * Fixed bug in `catch_discover_tests` that would cause it to fail when used in specific project structures * Added Bazel build file * Added an experimental static library target to CMake * Tue Dec 01 2020 aloisioAATTgmx.com- Update to version 2.13.3 Fixes: * Fixed possible infinite loop when combining generators with section filter (`-c` option) Miscellaneous: * Fixed `ParseAndAddCatchTests` not finding `TEST_CASE`s without tags * `ParseAndAddCatchTests` supports `CMP0110` policy for changing behaviour of `add_test` + This was the shortlived change in CMake 3.18.0 that temporarily broke `ParseAndAddCatchTests` version 2.13.2 Improvements: * Implemented workaround for NVCC ICE Fixes: * Fixed detection of `std::uncaught_exceptions` support under non-msvc platforms Miscellaneous: * `catch_discover_tests` has been improved significantly + You can now specify which reporter should be used + You can now modify where the output will be written + `WORKING_DIRECTORY` setting is respected * `ParseAndAddCatchTests` now supports `TEMPLATE_TEST_CASE` macros * Various documentation fixes and improvements version 2.13.1 Improvements: * `ParseAndAddCatchTests` handles CMake v3.18.0 correctly * Improved autodetection of `std::byte` * Simplified implementation of templated test cases + This should have a tiny positive effect on its compilation throughput Fixes: * Automatic stringification of ranges handles sentinel ranges properly * Fri Aug 14 2020 Luigi Baldoni - Update to version 2.13.0 Improvements: * `GENERATE` can now follow a `SECTION` at the same level of nesting + The `SECTION`(s) before the `GENERATE` will not be run multiple times, the following ones will. * Added `-D`/`--min-duration` command line flag + If a test takes longer to finish than the provided value, its name and duration will be printed. + This flag is overriden by setting `-d`/`--duration`. Fixes: * `TAPReporter` no longer skips successful assertions version 2.12.4: * `GENERATE` nested in a for loop no longer creates multiple generators * Fixed copy paste error breaking `TEMPLATE_TEST_CASE_SIG` for 6 or more arguments * Fixed potential UB when handling non-ASCII characters in CLI args * There can be multiple calls to `GENERATE` on a single line * Improved `fno-except` support for platforms that do not provide shims for exception-related std functions + E.g. the Green Hills C++ compiler * XmlReporter now also reports test-case-level statistics + This is done via a new element, `OverallResultsCases` * Added `.clang-format` file to the repo * Rewrote contributing docs + They should explain the different levels of testing and so on much better version 2.12.2: * Fixed compilation failure if `is_range` ADL found deleted function * Fixed potential UB in `CAPTURE` if the expression contained non-ASCII characters * `std::result_of` is not used if `std::invoke_result` is available * JUnit reporter writes out `status` attribute for tests * Suppresed clang-tidy\'s `hicpp-vararg` warning + Catch2 was already suppressing the `cppcoreguidelines-pro-type-vararg` alias of the warning version 2.12.1: * Vector matchers now support initializer list literals better * Added support for `^` (bitwise xor) to `CHECK` and `REQUIRE` version 2.12.0: * Running tests in random order (`--order rand`) has been reworked significantly + Given same seed, all platforms now produce the same order + Given same seed, the relative order of tests does not change if you select only a subset of them * Vector matchers support custom allocators * `|` and `&` (bitwise or and bitwise and) are now supported in `CHECK` and `REQUIRE` + The resulting type must be convertible to `bool` * Fixed computation of benchmarking column widths in ConsoleReporter * Suppressed clang-tidy\'s `cppcoreguidelines-pro-type-vararg` in assertions + It was a false positive trigered by the new warning support workaround * Fixed bug in test specification parser handling of OR\'d patterns using escaping * Worked around IBM XL\'s codegen bug + It would emit code for _destructors_ of temporaries in an unevaluated context * Improved detection of stdlib\'s support for `std::uncaught_exceptions` version 2.11.2: * GCC and Clang now issue warnings for suspicious code in assertions + E.g. `REQUIRE( int != unsigned int )` will now issue mixed signedness comparison warning + This has always worked on MSVC, but it now also works for GCC and current Clang versions * Colorization of \"Test filters\" output should be more robust now * `--wait-for-keypress` now also accepts `never` as an option * Reporters no longer round-off nanoseconds when reporting benchmarking results * It is now possible to customize benchmark\'s warm-up time when running the test binary + `--benchmark-warmup-time {ms}` * User can now specify how Catch2 should break into debugger * Fixes missing `` include in benchmarking * Fixed missing `` include in benchmarking * Hidden test cases are now also tagged with `[!hide]` as per documentation * Detection of whether libc provides `std::nextafter` has been improved * Composing already-composed matchers no longer modifies the partially-composed matcher expression + This bug has been present for the last ~2 years and nobody reported it version 2.11.1: * `google-build-using-namespace` clang-tidy warning is suppressed * `ObjectStorage` now behaves properly in `const` contexts * `GENERATE_COPY(a, b)` now compiles properly * Some more cleanups in the benchmarking support * Wed Jan 08 2020 Luigi Baldoni - Use only %license
|
|
|