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
This commit is contained in:
parent
31dd442067
commit
b4bf4d3a8f
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8361907f4d9bff3ae7c1edb027f813659f793053c99b67837a0c0375f065bae2
|
||||
size 1102862
|
BIN
Catch2-3.4.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
Catch2-3.4.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,33 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 27 12:12:56 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 3.4.0:
|
||||
* VectorEquals supports elements that provide only == and not !=
|
||||
(gh#catchorg/Catch2#2648).
|
||||
* Catch2 supports compiling with IAR compiler
|
||||
(gh#catchorg/Catch2#2651).
|
||||
* Various small internal performance improvements.
|
||||
* Various small internal compilation time improvements.
|
||||
* XMLReporter now reports location info for INFO and WARN
|
||||
(gh#catchorg/Catch2#1251).
|
||||
* Documented that SKIP in generator constructor can be used to
|
||||
handle empty generator (gh#catchorg/Catch2#1593).
|
||||
* Added experimental static analysis support to TEST_CASE and
|
||||
SECTION macros (gh#catchorg/Catch2#2681).
|
||||
* *_THROWS, *_THROWS_AS, etc now suppress warning coming from
|
||||
__attribute__((warn_unused_result)) on GCC
|
||||
(gh#catchorg/Catch2#2691).
|
||||
* Fixed assertionStarting events being sent after the expr is
|
||||
evaluated (gh#catchorg/Catch2#2678).
|
||||
* Errors in TEST_CASE tags are now reported nicely
|
||||
(gh#catchorg/Catch2#2650).
|
||||
* Bunch of improvements to catch_discover_tests.
|
||||
* meson build can disable building tests
|
||||
(gh#catchorg/Catch2#2693).
|
||||
* meson build properly sets meson version 0.54.1 as the minimal
|
||||
supported version (gh#catchorg/Catch2#2688).
|
||||
- Use ninja for build.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 7 19:52:50 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
14
Catch2.spec
14
Catch2.spec
@ -16,8 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%define __builder ninja
|
||||
Name: Catch2
|
||||
Version: 3.3.2
|
||||
Version: 3.4.0
|
||||
Release: 0
|
||||
Summary: A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD
|
||||
License: BSL-1.0
|
||||
@ -25,7 +26,9 @@ URL: https://github.com/catchorg/%{name}/
|
||||
Source: https://github.com/catchorg/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: cmake >= 3.10
|
||||
BuildRequires: gcc-c++ >= 6
|
||||
BuildRequires: ninja
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3
|
||||
|
||||
%description
|
||||
Catch2 stands for C++ Automated Test Cases in a Header and is a multi-paradigm
|
||||
@ -46,17 +49,14 @@ It also provides basic micro-benchmarking features, and simple BDD macros.
|
||||
%build
|
||||
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
|
||||
%cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DCMAKE_INSTALL_DOCDIR=%{_defaultdocdir}/%{name} \
|
||||
-DPKGCONFIG_INSTALL_DIR=%{_libdir}/pkgconfig
|
||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||
-DCMAKE_INSTALL_DOCDIR:PATH=%{_defaultdocdir}/%{name} \
|
||||
-DPKGCONFIG_INSTALL_DIR:PATH=%{_libdir}/pkgconfig
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
%files devel
|
||||
%license LICENSE.txt
|
||||
%doc README.md CODE_OF_CONDUCT.md
|
||||
|
Loading…
x
Reference in New Issue
Block a user