Accepting request 1059295 from home:badshah400:branches:devel:libraries:c_c++
Update to version 2.13.10: OBS-URL: https://build.opensuse.org/request/show/1059295 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2-2?expand=0&rev=3
This commit is contained in:
parent
667c7f3b57
commit
fca1b59103
BIN
Catch2-2.13.10.tar.gz
(Stored with Git LFS)
Normal file
BIN
Catch2-2.13.10.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:06dbc7620e3b96c2b69d57bf337028bf245a211b3cddb843835bfe258f427a52
|
|
||||||
size 661915
|
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 18 08:32:54 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 2.13.10:
|
||||||
|
* Fixed issue with catch_discover_tests when there is multiple of
|
||||||
|
256 tests (gh#catchorg/Catch2#2401, gh#catchorg/Catch2#2503).
|
||||||
|
* Catch2-provided main and wmain are explicitly marked as __cdecl
|
||||||
|
when compiled with MSVC (gh#catchorg/Catch2#2486,
|
||||||
|
gh#catchorg/Catch2#2487).
|
||||||
|
* Replaced deprecated std::aligned_storage
|
||||||
|
(gh#catchorg/Catch2#2419, gh#catchorg/Catch2#2420).
|
||||||
|
- Minor rebase of fix-pragmas-old-gcc.patch to apply cleanly.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 8 04:21:27 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
Sat Oct 8 04:21:27 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package Catch2-2
|
# spec file for package Catch2-2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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,7 +18,7 @@
|
|||||||
|
|
||||||
%define srcname Catch2
|
%define srcname Catch2
|
||||||
Name: Catch2-2
|
Name: Catch2-2
|
||||||
Version: 2.13.9
|
Version: 2.13.10
|
||||||
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
|
||||||
|
@ -1,21 +1,22 @@
|
|||||||
diff -Nur Catch2-2.13.9/projects/SelfTest/UsageTests/Message.tests.cpp new/projects/SelfTest/UsageTests/Message.tests.cpp
|
Index: Catch2-2.13.10/projects/SelfTest/UsageTests/Message.tests.cpp
|
||||||
--- Catch2-2.13.9/projects/SelfTest/UsageTests/Message.tests.cpp 2022-04-12 22:38:17.000000000 +0200
|
===================================================================
|
||||||
+++ new/projects/SelfTest/UsageTests/Message.tests.cpp 2022-04-26 14:20:39.792719016 +0200
|
--- Catch2-2.13.10.orig/projects/SelfTest/UsageTests/Message.tests.cpp
|
||||||
@@ -243,7 +243,7 @@
|
+++ Catch2-2.13.10/projects/SelfTest/UsageTests/Message.tests.cpp
|
||||||
|
@@ -242,7 +242,7 @@ std::ostream& operator<<(std::ostream& o
|
||||||
// Clang and gcc have different names for this warning, and clang also
|
|
||||||
// warns about an unused value
|
|
||||||
-#if defined(__GNUG__) && !defined(__clang__)
|
|
||||||
+#if defined(__GNUG__) && __GNUG__ >= 8 && !defined(__clang__)
|
|
||||||
#pragma GCC diagnostic push
|
|
||||||
#pragma GCC diagnostic ignored "-Wcomma-subscript"
|
|
||||||
#elif defined(__clang__)
|
|
||||||
@@ -262,7 +262,7 @@
|
|
||||||
SUCCEED();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-#ifdef __GNUG__
|
// clang can handle GCC's diagnostic pragma
|
||||||
+#if defined(__GNUG__) && __GNUG__ >= 8
|
-#if defined( __GNUG__ ) || defined(__clang__)
|
||||||
#pragma GCC diagnostic pop
|
+#if defined( __GNUG__ ) && __GNUG__ >= 8 || defined(__clang__)
|
||||||
|
# pragma GCC diagnostic push
|
||||||
|
#endif
|
||||||
|
// Clang and gcc have different names for this warning, and clang also
|
||||||
|
@@ -263,7 +263,7 @@ TEST_CASE("CAPTURE can deal with complex
|
||||||
|
CAPTURE( (1, 2), (2, 3) );
|
||||||
|
SUCCEED();
|
||||||
|
}
|
||||||
|
-#if defined( __GNUG__ ) || defined(__clang__)
|
||||||
|
+#if defined( __GNUG__ ) && __GNUG__ >= 8 || defined(__clang__)
|
||||||
|
# pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user