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
This commit is contained in:
Dominique Leuenberger 2021-04-14 11:05:07 +00:00 committed by Git OBS Bridge
commit afac314385
4 changed files with 51 additions and 5 deletions

View File

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

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

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

View File

@ -1,3 +1,49 @@
-------------------------------------------------------------------
Tue Apr 13 07:50:44 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
- 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 1 11:27:06 UTC 2020 - aloisio@gmx.com

View File

@ -1,7 +1,7 @@
#
# spec file for package Catch2
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: Catch2
Version: 2.13.3
Version: 2.13.5
Release: 0
Summary: A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD
License: BSL-1.0