forked from pool/Catch2
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| b6187a1f15 | |||
| 46e9cce179 | |||
| 35692be271 | |||
| d2c2932947 | |||
| 53abd834a7 | |||
| 3d8fa64779 | |||
| c474d4e2fc | |||
| ffc88285ee |
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
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:18b3f70ac80fccc340d8c6ff0f339b2ae64944782f8d2fca2bd705cf47cadb79
|
|
||||||
size 1197623
|
|
||||||
135
Catch2.changes
135
Catch2.changes
@@ -1,3 +1,138 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Wed Apr 30 13:09:06 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
|||||||
10
Catch2.spec
10
Catch2.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package Catch2
|
# spec file for package Catch2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2026 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,12 +18,12 @@
|
|||||||
|
|
||||||
%define __builder ninja
|
%define __builder ninja
|
||||||
Name: Catch2
|
Name: Catch2
|
||||||
Version: 3.8.1
|
Version: 3.12.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD
|
Summary: A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD
|
||||||
License: BSL-1.0
|
License: BSL-1.0
|
||||||
URL: https://github.com/catchorg/%{name}/
|
URL: https://github.com/catchorg/%{name}
|
||||||
Source: https://github.com/catchorg/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: cmake >= 3.10
|
BuildRequires: cmake >= 3.10
|
||||||
BuildRequires: gcc-c++ >= 6
|
BuildRequires: gcc-c++ >= 6
|
||||||
BuildRequires: ninja
|
BuildRequires: ninja
|
||||||
@@ -51,7 +51,7 @@ It also provides basic micro-benchmarking features, and simple BDD macros.
|
|||||||
%cmake -DCMAKE_BUILD_TYPE=Release \
|
%cmake -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||||
-DCMAKE_INSTALL_DOCDIR:PATH=%{_defaultdocdir}/%{name} \
|
-DCMAKE_INSTALL_DOCDIR:PATH=%{_defaultdocdir}/%{name} \
|
||||||
-DPKGCONFIG_INSTALL_DIR:PATH=%{_libdir}/pkgconfig
|
-DPKGCONFIG_INSTALL_DIR:PATH=%{_lib}/pkgconfig
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|||||||
Reference in New Issue
Block a user