Compare commits
26 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| b6187a1f15 | |||
| 46e9cce179 | |||
| 35692be271 | |||
| d2c2932947 | |||
| 53abd834a7 | |||
| 3d8fa64779 | |||
| c474d4e2fc | |||
| ffc88285ee | |||
| 163fd5ae6f | |||
| fc63d6d070 | |||
| 31b656f516 | |||
| 2b8f61dd2a | |||
| f622032f8d | |||
| 413c09f15b | |||
| 0192ea58aa | |||
| ed41ae525e | |||
| dc386db9a5 | |||
| 8c2662e28b | |||
| aa3199b0f7 | |||
| 104f11bc3e | |||
| ecf5d1b661 | |||
| 30eeefed87 | |||
| dab5a91d4d | |||
| 95139e20f9 | |||
| 7d2e3e3a32 | |||
| f908d34ecb |
3
Catch2-3.12.0.tar.gz
Normal file
3
Catch2-3.12.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e077079f214afc99fee940d91c14cf1a8c1d378212226bb9f50efff75fe07b23
|
||||
size 1416567
|
||||
BIN
Catch2-3.4.0.tar.gz
LFS
BIN
Catch2-3.4.0.tar.gz
LFS
Binary file not shown.
310
Catch2.changes
310
Catch2.changes
@@ -1,3 +1,313 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 15 18:33:24 UTC 2026 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 3.12.0:
|
||||
* Fixes:
|
||||
- Fixed unscoped messages after a passing fast-pathed
|
||||
assertion being lost.
|
||||
- Fixed the help string for `--order` to mention random order
|
||||
as the default (gh#catchorg/Catch2#3045).
|
||||
- Fixed small documentation typos (gh#catchorg/Catch2#3039).
|
||||
- Fixed compilation with `CATCH_CONFIG_THREAD_SAFE_ASSERTIONS`
|
||||
for older C++ standards.
|
||||
- Fixed a thread-safety issue with message macros being used
|
||||
too early after the process starts.
|
||||
- Fixed automatic configuration to properly handle PlayStation
|
||||
platform (gh#catchorg/Catch2#3054).
|
||||
- Fixed the _weird_ behaviour of section filtering when
|
||||
specifying multiple filters (gh#catchorg/Catch2#3038).
|
||||
* Improvements:
|
||||
- Added `lifetimebound` attribute to various places.
|
||||
- Minor compile-time improvements to stringification
|
||||
(gh#catchorg/Catch2#3028).
|
||||
- Global variables will only be marked with `thread_local` in
|
||||
thread-safe builds (gh#catchorg/Catch2#3044).
|
||||
* Miscellaneous:
|
||||
- The thread safety support is no longer experimental.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 28 18:34:54 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 3.11.0:
|
||||
* Bug fixes:
|
||||
- Fixed building on non-desktop GDK platforms
|
||||
(gh#catchorg/Catch2#3029).
|
||||
- Fixed message macros being susceptible to race in specific
|
||||
scenario (gh#catchorg/Catch2#3031).
|
||||
- Catch2's SEH filter will call the previously installed
|
||||
filter after reporting the error (gh#catchorg/Catch2#3033).
|
||||
* Improvements
|
||||
- Handling of scoped messages (e.g. CAPTURE) is a bit faster.
|
||||
- Better out-of-the-box support for QNX
|
||||
(gh#catchorg/Catch2#2953).
|
||||
- Improved performance of assertions by up-to 10%
|
||||
- Faster processing of non-escaped strings in --invisibles
|
||||
mode.
|
||||
- Added support for Bazel's TEST_RANDOM_SEED env var
|
||||
(gh#catchorg/Catch2#3021).
|
||||
- Added support for Bazel's TEST_PREMATURE_EXIT_FILE env var
|
||||
(gh#catchorg/Catch2#3020).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 21 19:10:54 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 3.10.0:
|
||||
* Bug fixes:
|
||||
- pkg-config files will take DESTDIR env var into account when
|
||||
selecting install destination (gh#catchorg/Catch2#3006,
|
||||
gh#catchorg/Catch2#3019)
|
||||
- Changed filter to store the provided predicate by value
|
||||
(gh#catchorg/Catch2#3002, gh#catchorg/Catch2#3005)
|
||||
* Improvements
|
||||
- Escaping XML and JSON output is faster when the strings do
|
||||
not need escaping.
|
||||
- Message macros (INFO, CAPTURE, WARN, SUCCEED, etc) are now
|
||||
thread safe.
|
||||
- Drop Catch2-pkgconfig-install-destdir.patch: fixed upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 10 06:46:50 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 3.9.1:
|
||||
* Bug fixes:
|
||||
- Fixed bad error reporting for multiple nested assertions
|
||||
(gh#catchorg/Catch2#1292).
|
||||
- Fixed W4702 (unreachable code) in the polyfill for
|
||||
std::unreachable (gh#catchorg/Catch2#3007).
|
||||
- Fixed decomposition of assertions comparing enum-backed
|
||||
bitfields (gh#catchorg/Catch2#3001).
|
||||
- Fixed StringMaker specialization for
|
||||
time_point<system_clock> with non-default duration type
|
||||
(gh#catchorg/Catch2#2685).
|
||||
* Improvements.
|
||||
- Exceptions thrown during stringification of decomposed
|
||||
expression no longer fail the assertion
|
||||
(gh#catchorg/Catch2#2980).
|
||||
- The selection logic for CATCH_TRAP prefers
|
||||
__builtin_debugtrap on all platforms when Catch2 is compiled
|
||||
with Clang.
|
||||
- Add Catch2-pkgconfig-install-destdir.patch: Install pkgconfig
|
||||
file to destdir (gh#catchorg/Catch2#3006); upstream commit.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 26 01:13:40 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 3.9.0:
|
||||
* Features:
|
||||
- Added experimental opt-in support for thread safe
|
||||
assertions.
|
||||
- The default test run order has been changed to random.
|
||||
- Passing assertions are significantly faster when the
|
||||
reporter does not ask for assertionEnded events on passing
|
||||
assertions.
|
||||
- Small (2-5%) improvement if the reporter asks for
|
||||
assertionEnded events for passing assertions.
|
||||
- The exit code constants are part of the Session API.
|
||||
(gh#catchorg/Catch2#2955, gh#catchorg/Catch2#2976).
|
||||
- Suppressed unsigned integer overflow checking in locations
|
||||
with intended overflow (gh#catchorg/Catch2#2965).
|
||||
- Reporters flush output after writing metadata, e.g. rng seed
|
||||
(gh#catchorg/Catch2#2964).
|
||||
- Added unreachable after FAIL and SKIP macros
|
||||
(gh#catchorg/Catch2#2941).
|
||||
- Added fast path for assertionStarting event when no reporter
|
||||
requires it.
|
||||
- Improved last seen source location tracking to be more
|
||||
precise.
|
||||
* Bug fixes:
|
||||
- Fixed formatting of tags with more than 100 tests in the
|
||||
default --list-tags output (gh#catchorg/Catch2#2963).
|
||||
- Fixed Clang-Tidy's
|
||||
readability-static-accessed-through-instance in tests.
|
||||
- Fixed most of Clang-Tidy's
|
||||
cppcoreguidelines-avoid-non-const-global-variables
|
||||
(gh#catchorg/Catch2#2582).
|
||||
- The lifetime of scoped messages now strictly obeys their
|
||||
scope (gh#catchorg/Catch2#1759, gh#catchorg/Catch2#2019,
|
||||
gh#catchorg/Catch2#2959).
|
||||
- TEMPLATE_TEST_CASE_SIG can handle signatures consisting of
|
||||
only types (gh#catchorg/Catch2#2680,
|
||||
gh#catchorg/Catch2#2995).
|
||||
- Moved catch_test_run_info.hpp up from internal/ subfolder
|
||||
into the main one (gh#catchorg/Catch2#2972).
|
||||
* Miscellaneous: pkg-config files are now generated at install
|
||||
time (gh#catchorg/Catch2#2979).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 30 13:09:06 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 3.8.1:
|
||||
* Fixed bug where catch_discover_tests fails when no TEST_CASEs
|
||||
are present (gh#catchorg/Catch2#2962).
|
||||
* Fixed Clang 19 -Wc++20-extensions warning
|
||||
(gh#catchorg/Catch2#2968).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 23 03:25:17 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 3.8.0:
|
||||
* Improvements:
|
||||
- Added std::initializer_list overloads for
|
||||
(Unordered)RangeEquals matcher (gh#catchorg/Catch2#2915,
|
||||
gh#catchorg/Catch2#2919).
|
||||
- Added explicit casts to silence GCC's Wconversion
|
||||
(gh#catchorg/Catch2#2875).
|
||||
- Made the use of builtin_constant_p tricks in assertion
|
||||
macros configurable (gh#catchorg/Catch2#2925) .
|
||||
- Cleaned out Clang-Tidy's performance-enum-size warnings.
|
||||
- Added support for using from_range generator with iterators
|
||||
with value_type = const T (gh#catchorg/Catch2#2926).
|
||||
* Bug fixes:
|
||||
- Fixed crash when stringifying pre-1970 (epoch) dates on
|
||||
Windows (gh#catchorg/Catch2#2944).
|
||||
- Fixes and improvements for catch_discover_tests CMake
|
||||
helper.
|
||||
- Bumped up the minimum required CMake version to build Catch2
|
||||
to 3.16.
|
||||
- Meson build now provides option to avoid installing Catch2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 23:19:06 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 3.7.1:
|
||||
- Applied the JUnit reporter's optimization from last release to
|
||||
the SonarQube reporter
|
||||
- Suppressed `-Wuseless-cast` in CHECK_THROWS_MATCHES
|
||||
(gh#catchorg/Catch2#2904)
|
||||
- Standardize exit codes for various failures
|
||||
- Fixed out-of-bounds access when the arg parser encounters
|
||||
single `-` as an argument (gh#catchorg/Catch2#2905)
|
||||
- Added catch_config_prefix_messages.hpp to meson build
|
||||
(gh#catchorg/Catch2#2903)
|
||||
- `catch_discover_tests` now supports skipped tests
|
||||
(gh#catchorg/Catch2#2873)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 13 19:14:33 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 3.6.0:
|
||||
* Fixes
|
||||
- Fixed the JUnit reporter sometimes crashing when reporting a
|
||||
fatal error (gh#catchorg/Catch2#1210,
|
||||
gh#catchorg/Catch2#2855).
|
||||
* Improvements
|
||||
- Disable -Wnon-virtual-dtor in Decomposer and Matchers
|
||||
(gh#catchorg/Catch2#2854).
|
||||
- precision in floating point stringmakers defaults to
|
||||
max_digits10.
|
||||
- Column wrapping ignores ansi colour codes when calculating
|
||||
string width (gh#catchorg/Catch2#2833,
|
||||
gh#catchorg/Catch2#2849).
|
||||
* Miscellaneous
|
||||
- Conan support improvements
|
||||
- SelfTest target can be built through Bazel
|
||||
(gh#catchorg/Catch2#2857).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 10 13:38:14 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 3.5.4:
|
||||
* Fixes:
|
||||
- Fixed potential compilation error when asked to generate
|
||||
random integers whose type did not match `std::(u)int*_t`.
|
||||
- Added missing outlined destructor causing
|
||||
`Wdelete-incomplete` when compiling against libstdc++ in
|
||||
C++23 mode (gh#catchorg/Catch2#2852).
|
||||
- Fixed regression where decomposing assertion with const
|
||||
instance of `std::foo_ordering` would not compile.
|
||||
* Improvements:
|
||||
- Reintroduced support for GCC 5 and 6
|
||||
(gh#catchorg/Catch2#2836).
|
||||
- `CATCH_CONFIG_DEFAULT_REPORTER` can now be an arbitrary
|
||||
reporter spec.
|
||||
- Improved performance of generating 64bit random integers by
|
||||
20+%.
|
||||
* Miscellaneous:
|
||||
- Significantly improved Conan in-tree recipe
|
||||
(gh#catchorg/Catch2#2831).
|
||||
- `DL_PATHS` in `catch_discover_tests` now supports multiple
|
||||
arguments (gh#catchorg/Catch2#2852,
|
||||
gh#catchorg/Catch2#2736).
|
||||
- Fixed preprocessor logic for checking whether we expect
|
||||
reproducible floating point results in tests.
|
||||
- Improved the floating point tests structure to avoid
|
||||
`Wunused` when the reproducibility tests are disabled
|
||||
(gh#catchorg/Catch2#2845).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 00:46:11 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- 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 18:58:25 UTC 2024 - Atri Bhattacharya <badshah400@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).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 2 12:15:06 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- 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 14:38:43 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- 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 12:12:56 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
|
||||
10
Catch2.spec
10
Catch2.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package Catch2
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,12 +18,12 @@
|
||||
|
||||
%define __builder ninja
|
||||
Name: Catch2
|
||||
Version: 3.4.0
|
||||
Version: 3.12.0
|
||||
Release: 0
|
||||
Summary: A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD
|
||||
License: BSL-1.0
|
||||
URL: https://github.com/catchorg/%{name}/
|
||||
Source: https://github.com/catchorg/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
URL: https://github.com/catchorg/%{name}
|
||||
Source: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: cmake >= 3.10
|
||||
BuildRequires: gcc-c++ >= 6
|
||||
BuildRequires: ninja
|
||||
@@ -51,7 +51,7 @@ It also provides basic micro-benchmarking features, and simple BDD macros.
|
||||
%cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||
-DCMAKE_INSTALL_DOCDIR:PATH=%{_defaultdocdir}/%{name} \
|
||||
-DPKGCONFIG_INSTALL_DIR:PATH=%{_libdir}/pkgconfig
|
||||
-DPKGCONFIG_INSTALL_DIR:PATH=%{_lib}/pkgconfig
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
|
||||
Reference in New Issue
Block a user