From a683d947d9f71239ad5e57125f7920cf4fbdcd4985b5b5780f4b5c5989ea76a1 Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Wed, 11 May 2022 11:39:20 +0000 Subject: [PATCH] Accepting request 976361 from home:susnux:branches:devel:tools - Update to 2.4.8 OBS-URL: https://build.opensuse.org/request/show/976361 OBS-URL: https://build.opensuse.org/package/show/devel:tools/doctest?expand=0&rev=15 --- 0001-Fix-build-with-GCC-11.patch | 40 ----------------------- doctest-2.4.6.tar.gz | 3 -- doctest-2.4.8.tar.gz | 3 ++ doctest.changes | 55 ++++++++++++++++++++++++++++++++ doctest.spec | 10 +++--- 5 files changed, 62 insertions(+), 49 deletions(-) delete mode 100644 0001-Fix-build-with-GCC-11.patch delete mode 100644 doctest-2.4.6.tar.gz create mode 100644 doctest-2.4.8.tar.gz diff --git a/0001-Fix-build-with-GCC-11.patch b/0001-Fix-build-with-GCC-11.patch deleted file mode 100644 index e0bf566..0000000 --- a/0001-Fix-build-with-GCC-11.patch +++ /dev/null @@ -1,40 +0,0 @@ -From e0ff2bd492fd0dc4d25e6a507aa7d6766ce2da83 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Jan=20Kundr=C3=A1t?= -Date: Mon, 17 May 2021 12:41:37 +0200 -Subject: [PATCH] Fix build with GCC 11 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -GCC 11 started warning about unused-but-set variables. Here's how it -fails: - - examples/all_features/stringification.cpp: In function ‘void _DOCTEST_ANON_FUNC_20()’: - examples/all_features/stringification.cpp:106:26: error: variable ‘bla2’ set but not used [-Werror=unused-but-set-variable] - 106 | MyTypeInherited bla2; - | ^~~~ - -I don't think that that assignment is actually doing anything; in fact, -there's that other variable which is assigned in a similar manner, but -that one is also used for an assert. ---- - examples/all_features/stringification.cpp | 3 --- - 1 file changed, 3 deletions(-) - -diff --git a/examples/all_features/stringification.cpp b/examples/all_features/stringification.cpp -index a8b5d5b..492e1ec 100644 ---- a/examples/all_features/stringification.cpp -+++ b/examples/all_features/stringification.cpp -@@ -103,9 +103,6 @@ TEST_CASE("all asserts should fail and show how the objects get stringified") { - MyTypeInherited bla1; - bla1.one = 5; - bla1.two = 4u; -- MyTypeInherited bla2; -- bla2.one = 5; -- bla2.two = 6u; - - Bar::Foo f1; - Bar::Foo f2; --- -2.31.1 - diff --git a/doctest-2.4.6.tar.gz b/doctest-2.4.6.tar.gz deleted file mode 100644 index 9542208..0000000 --- a/doctest-2.4.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:39110778e6baf373ef04342d7cb3fe35da104cb40769103e8a2f0035f5a5f1cb -size 2277281 diff --git a/doctest-2.4.8.tar.gz b/doctest-2.4.8.tar.gz new file mode 100644 index 0000000..f2f3cef --- /dev/null +++ b/doctest-2.4.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f52763630aa17bd9772b54e14b6cdd632c87adf0169455a86a49bd94abf2cd83 +size 2275833 diff --git a/doctest.changes b/doctest.changes index 6df8dce..f0c8c9f 100644 --- a/doctest.changes +++ b/doctest.changes @@ -1,3 +1,58 @@ +------------------------------------------------------------------- +Wed May 11 10:59:23 UTC 2022 - Ferdinand Thiessen + +- Update to 2.4.8 + * Fixed g_oss is causing incorrect stringification results + * Feature: Assertions returning booleans + * Non visible build related changes + +------------------------------------------------------------------- +Tue Jan 4 22:25:32 UTC 2022 - Dirk Müller + +- update to 2.4.7: + * Fix Stack-buffer-overflow probably because char array is viewed as NULL + terminated string + * "C4834: discarding return value" with REQUIRE_THROWS + * Xcode 11.3 is gone from macOS-latest (=macOS-11) + * is it possible to define dependency for CHECKs + * Output summary explanation + * compiler errors in doctest.h using cmake in CLion + * Fails to build in VS2013 because of constexpr + * -Wreserved-identifier warnings with Clang 13.0.0 + * Build fails with latest MSVC 2019 (v16.11) due to /WX + * VS 16.11 warning about unreferenced function with internal linkage + * Faq googletest mocking dead link + * FR: Documentation: FAQ: Add sectoin 'multiple files' + * CMAKE: doctest_discover_tests() error when ADD_LABELS is not specified + * Register tests based on test data available + * naming override in different testcase files + * Segmentation fault during the compilation without the copy elision optimization + * Compiler warnings on Xcode 12.5 + * Using filter -sc does not work properly? + * [question] Example of tests in production code & DLLs & shared libraries? + * Dumping fixture state to disk on error + * Macros construct reserved identifiers + * Running doctest on embedded ARM Cortex µCs + * Asserts Outside of Tests Example Does Not Link + * [FEATURE REQUEST] Quiet flag + * Compile error on Intel C++ Classic Compilers + * compiling doctest in 32-bit with __stdcall calling convention fails + * Duplicate 'const' compilation error from TEST_CASE_CLASS macro + * Packed fields can't be accessed in 2.4.6 + * Dangling pointers with .str().c_str() + * Automatic adding of TEST_SUITE labels to discovered tests fails if + ADD_LABELS not set + * Adding a bunch of REQUIRE/CHECK utilities + * Warning C4114 in MSVC + * Own repository + * Linking problem with Clang 10 on Windows + * Add option not to print the intro text + * [Feature] Better integration with tools (VS Code Test Adapter Extension) + * vscode test explorer + * Want an option not to print any intro + * Add way to disable printing of intro +- Drop 0001-Fix-build-with-GCC-11.patch + ------------------------------------------------------------------- Tue Jun 1 09:19:24 UTC 2021 - Christophe Giboudeaux diff --git a/doctest.spec b/doctest.spec index 88eb95b..ca878a9 100644 --- a/doctest.spec +++ b/doctest.spec @@ -1,7 +1,7 @@ # # spec file for package doctest # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,12 @@ Name: doctest -Version: 2.4.6 +Version: 2.4.8 Release: 0 Summary: Single-header testing framework License: MIT -URL: http://bit.ly/doctest-docs -Source0: https://github.com/onqtam/doctest/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM -Patch0: 0001-Fix-build-with-GCC-11.patch +URL: https://github.com/doctest/doctest +Source0: https://github.com/doctest/doctest/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig