26 Commits

Author SHA256 Message Date
b6187a1f15 Accepting request 1327470 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1327470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=26
2026-01-18 21:18:21 +00:00
46e9cce179 Update to version 3.12.0.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=52
2026-01-15 21:27:21 +00:00
35692be271 Accepting request 1315033 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1315033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=25
2025-11-03 17:54:39 +00:00
d2c2932947 Update to version 3.11.0.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=50
2025-11-02 04:40:44 +00:00
53abd834a7 Accepting request 1307604 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1307604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=24
2025-09-29 14:31:33 +00:00
3d8fa64779 Accepting request 1306339 from home:badshah400:branches:devel:libraries:c_c++
* Update to version 3.10.0.
* Drop Catch2-pkgconfig-install-destdir.patch: fixed upstream.

OBS-URL: https://build.opensuse.org/request/show/1306339
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=48
2025-09-22 11:58:53 +00:00
c474d4e2fc Accepting request 1299308 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1299308
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=23
2025-08-19 14:43:39 +00:00
ffc88285ee * Update to version 3.9.1.
* Add Catch2-pkgconfig-install-destdir.patch: Install pkgconfig file to destdir (gh#catchorg/Catch2#3006); upstream commit.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=46
2025-08-14 05:05:27 +00:00
163fd5ae6f Accepting request 1274247 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1274247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=22
2025-05-06 14:38:25 +00:00
fc63d6d070 Update to version 3.8.1.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=44
2025-05-04 14:29:14 +00:00
31b656f516 Accepting request 1240377 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1240377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=21
2025-01-28 13:58:09 +00:00
2b8f61dd2a Update to version 3.8.0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=42
2025-01-26 17:56:20 +00:00
f622032f8d Accepting request 1202908 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1202908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=20
2024-09-25 19:52:40 +00:00
413c09f15b Update to version 3.7.1
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=40
2024-09-24 11:11:18 +00:00
0192ea58aa Accepting request 1173882 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1173882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=19
2024-05-15 19:25:42 +00:00
ed41ae525e Accepting request 1173812 from home:badshah400:branches:devel:libraries:c_c++
Update to version 3.6.0.

OBS-URL: https://build.opensuse.org/request/show/1173812
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=38
2024-05-14 06:50:30 +00:00
dc386db9a5 Accepting request 1166894 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1166894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=18
2024-04-14 09:53:36 +00:00
8c2662e28b Accepting request 1166679 from home:badshah400:branches:devel:libraries:c_c++
Update to version 3.5.4.

OBS-URL: https://build.opensuse.org/request/show/1166679
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=36
2024-04-11 14:26:33 +00:00
aa3199b0f7 Accepting request 1158118 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1158118
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=17
2024-03-17 21:10:39 +00:00
104f11bc3e Accepting request 1157067 from home:badshah400:branches:devel:libraries:c_c++
Update to version 3.5.3.

OBS-URL: https://build.opensuse.org/request/show/1157067
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=34
2024-03-15 02:40:00 +00:00
ecf5d1b661 Accepting request 1140093 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1140093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=16
2024-01-21 22:07:08 +00:00
30eeefed87 Accepting request 1140008 from home:badshah400:branches:devel:libraries:c_c++
Update to version 3.5.2.

OBS-URL: https://build.opensuse.org/request/show/1140008
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=32
2024-01-20 12:16:18 +00:00
dab5a91d4d Accepting request 1136183 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1136183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=15
2024-01-04 14:56:49 +00:00
95139e20f9 Accepting request 1136174 from home:badshah400:branches:devel:libraries:c_c++
Update to version 3.5.1

OBS-URL: https://build.opensuse.org/request/show/1136174
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=30
2024-01-02 13:43:50 +00:00
7d2e3e3a32 Accepting request 1133626 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1133626
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=14
2023-12-17 20:28:57 +00:00
f908d34ecb Accepting request 1133457 from home:badshah400:branches:devel:libraries:c_c++
Update to version 3.5.0

OBS-URL: https://build.opensuse.org/request/show/1133457
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=28
2023-12-16 19:14:22 +00:00
4 changed files with 318 additions and 8 deletions

3
Catch2-3.12.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e077079f214afc99fee940d91c14cf1a8c1d378212226bb9f50efff75fe07b23
size 1416567

Binary file not shown.

View File

@@ -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>

View File

@@ -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