SHA256
8
0
forked from pool/Catch2

53 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
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
33d62f1714 Accepting request 1101376 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1101376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=13
2023-08-07 13:28:50 +00:00
b4bf4d3a8f Accepting request 1101071 from home:badshah400:branches:devel:libraries:c_c++
* Update to version 3.4.0.
* Use ninja for build.

OBS-URL: https://build.opensuse.org/request/show/1101071
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=26
2023-07-30 09:41:16 +00:00
eefd092049 Accepting request 1070022 from devel:libraries:c_c++
- 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

OBS-URL: https://build.opensuse.org/request/show/1070022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=12
2023-03-08 13:53:04 +00:00
31dd442067 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=24
2023-03-07 19:55:19 +00:00
b98ce4f428 Accepting request 1066557 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1066557
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=11
2023-02-19 17:19:06 +00:00
7fe8a0c2b3 Accepting request 1065653 from home:badshah400:branches:devel:libraries:c_c++
Update to version 3.3.1

OBS-URL: https://build.opensuse.org/request/show/1065653
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=22
2023-02-18 16:34:00 +00:00
01a2fcc522 Accepting request 1060581 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1060581
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=10
2023-01-24 18:43:37 +00:00
8324e3d353 Accepting request 1060509 from home:badshah400:branches:devel:libraries:c_c++
Update to version 3.3.0

OBS-URL: https://build.opensuse.org/request/show/1060509
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=20
2023-01-24 08:28:36 +00:00
9c8871512d Accepting request 1059876 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1059876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=9
2023-01-20 16:39:01 +00:00
1e879e7f3c Accepting request 1059275 from home:badshah400:branches:devel:libraries:c_c++
- Update to version 3.2.1:

OBS-URL: https://build.opensuse.org/request/show/1059275
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=18
2023-01-20 05:05:58 +00:00
601680ef2d Accepting request 1005804 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1005804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=8
2022-09-26 16:47:36 +00:00
93d4a8293b Accepting request 1005801 from home:susnux:branches:devel:libraries:c_c++
Update to 3.1

OBS-URL: https://build.opensuse.org/request/show/1005801
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=16
2022-09-24 19:19:30 +00:00
0f5968a9df Accepting request 972971 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/972971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=7
2022-04-28 21:07:14 +00:00
f18bc9be08 Accepting request 972874 from home:susnux:branches:devel:libraries:c_c++
Update to 2.13.9

OBS-URL: https://build.opensuse.org/request/show/972874
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=14
2022-04-26 19:13:45 +00:00
Richard Brown
57db078418 Accepting request 910458 from devel:libraries:c_c++
- Update to version 2.13.7
  Fixes:
  * Added missing `<iterator>` 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.

OBS-URL: https://build.opensuse.org/request/show/910458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=6
2021-08-11 09:47:04 +00:00
ea5699e06a Accepting request 910364 from home:alois:branches:devel:libraries:c_c++
- Update to version 2.13.7
  Fixes:
  * Added missing `<iterator>` 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.

OBS-URL: https://build.opensuse.org/request/show/910364
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=13
2021-08-05 18:17:58 +00:00
e83e34cb4a Accepting request 890402 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/890402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=5
2021-05-07 14:45:12 +00:00
7f1b61ea57 Accepting request 890397 from home:susnux:branches:devel:libraries:c_c++
Update to version 2.13.6

OBS-URL: https://build.opensuse.org/request/show/890397
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=11
2021-05-04 14:22:21 +00:00
afac314385 Accepting request 884864 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/884864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=4
2021-04-14 11:05:07 +00:00
1f019c4e02 Accepting request 884863 from home:alois:branches:devel:libraries:c_c++
- 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

OBS-URL: https://build.opensuse.org/request/show/884863
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=9
2021-04-13 07:54:29 +00:00
f31abec9b6 Accepting request 852325 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/852325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=3
2020-12-03 17:41:11 +00:00
f2cb9e787b Accepting request 852324 from home:alois:branches:devel:libraries:c_c++
- 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

OBS-URL: https://build.opensuse.org/request/show/852324
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=7
2020-12-01 11:32:34 +00:00
39479b39e5 Accepting request 826682 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/826682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=2
2020-08-15 19:19:49 +00:00
4547fa1afb Accepting request 826681 from home:alois:branches:devel:libraries:c_c++
- 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 `<random>` include in benchmarking
  * Fixed missing `<iterator>` 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

OBS-URL: https://build.opensuse.org/request/show/826681
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=5
2020-08-14 13:21:08 +00:00
0509472c4e Accepting request 762905 from devel:libraries:c_c++
new package (2nd attempt)

OBS-URL: https://build.opensuse.org/request/show/762905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Catch2?expand=0&rev=1
2020-01-12 22:19:34 +00:00
Kira Marie Backes
861c0ee9f9 Accepting request 762843 from home:alois:branches:devel:libraries:c_c++
use only %license

OBS-URL: https://build.opensuse.org/request/show/762843
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=3
2020-01-10 15:14:14 +00:00
edfa9233b2 Accepting request 759213 from home:alois:branches:devel:libraries:c_c++
update to 2.11.0

OBS-URL: https://build.opensuse.org/request/show/759213
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=2
2020-01-02 12:53:20 +00:00
3fe9c38d27 Accepting request 704522 from home:audaki:branches:devel:libraries:c_c++
- Finalize .spec of Catch2 v 2.7.2
- Try to setup Catch2 as OBS project

OBS-URL: https://build.opensuse.org/request/show/704522
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=1
2019-05-21 15:34:24 +00:00
7 changed files with 143 additions and 17 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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,12 @@
%define __builder ninja
Name: Catch2
Version: 3.8.1
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