Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cppcheck for openSUSE:Factory 
checked in at 2025-07-31 17:47:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cppcheck (Old)
 and      /work/SRC/openSUSE:Factory/.cppcheck.new.1944 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cppcheck"

Thu Jul 31 17:47:04 2025 rev:53 rq:1296714 version:2.18.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/cppcheck/cppcheck.changes        2025-07-30 
11:46:12.436784262 +0200
+++ /work/SRC/openSUSE:Factory/.cppcheck.new.1944/cppcheck.changes      
2025-07-31 17:50:19.270426907 +0200
@@ -1,0 +2,6 @@
+Wed Jul 30 14:05:12 UTC 2025 - Andreas Schwab <sch...@suse.de>
+
+- testcondition.patch: fix expected output in TestCondition::alwaysTrue
+  and TestCondition::alwaysTrueContainer
+
+-------------------------------------------------------------------

New:
----
  testcondition.patch

----------(New B)----------
  New:
- testcondition.patch: fix expected output in TestCondition::alwaysTrue
  and TestCondition::alwaysTrueContainer
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cppcheck.spec ++++++
--- /var/tmp/diff_new_pack.p3Z5aV/_old  2025-07-31 17:50:19.958455485 +0200
+++ /var/tmp/diff_new_pack.p3Z5aV/_new  2025-07-31 17:50:19.962455651 +0200
@@ -28,6 +28,7 @@
 License:        GPL-3.0-or-later
 URL:            https://github.com/danmar/cppcheck
 Source:         
https://github.com/danmar/cppcheck/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch0:         testcondition.patch
 BuildRequires:  cmake
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  fdupes

++++++ testcondition.patch ++++++
Index: cppcheck-2.18.0/test/testcondition.cpp
===================================================================
--- cppcheck-2.18.0.orig/test/testcondition.cpp
+++ cppcheck-2.18.0/test/testcondition.cpp
@@ -4583,7 +4583,7 @@ private:
         if (std::numeric_limits<char>::is_signed) {
             ASSERT_EQUALS("[test.cpp:6:18]: (style) Condition 'o[1]=='\\0'' is 
always false [knownConditionTrueFalse]\n", errout_str());
         } else {
-            ASSERT_EQUALS("[test.cpp:4] -> [test.cpp:6]: (style) Condition 
'o[1]=='\\0'' is always false [knownConditionTrueFalse]\n", errout_str());
+            ASSERT_EQUALS("[test.cpp:4:25] -> [test.cpp:6:18]: (style) 
Condition 'o[1]=='\\0'' is always false [knownConditionTrueFalse]\n", 
errout_str());
         }
 
         check("void f(int x) {\n" // #11449
@@ -5323,7 +5323,7 @@ private:
         if (std::numeric_limits<char>::is_signed) {
             ASSERT_EQUALS("[test.cpp:5:22]: (style) Condition 
'buffer.back()=='\\0'' is always false [knownConditionTrueFalse]\n", 
errout_str());
         } else {
-            ASSERT_EQUALS("[test.cpp:3] -> [test.cpp:5]: (style) Condition 
'buffer.back()=='\\0'' is always false\n", errout_str());
+            ASSERT_EQUALS("[test.cpp:3:22] -> [test.cpp:5:22]: (style) 
Condition 'buffer.back()=='\\0'' is always false [knownConditionTrueFalse]\n", 
errout_str());
         }
 
         // #9353

Reply via email to