Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wxWidgets-3_2 for openSUSE:Factory 
checked in at 2024-01-26 22:45:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wxWidgets-3_2 (Old)
 and      /work/SRC/openSUSE:Factory/.wxWidgets-3_2.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wxWidgets-3_2"

Fri Jan 26 22:45:39 2024 rev:26 rq:1141469 version:3.2.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/wxWidgets-3_2/wxWidgets-3_2.changes      
2024-01-17 22:14:42.773703269 +0100
+++ /work/SRC/openSUSE:Factory/.wxWidgets-3_2.new.1815/wxWidgets-3_2.changes    
2024-01-26 22:45:48.397040322 +0100
@@ -1,0 +2,11 @@
+Sun Jan 21 09:21:37 UTC 2024 - Cliff Zhao <qz...@suse.com>
+
+- Add wxWidgets-3_2-Fix-test-suite-on-Linux-s390x-architectures.patch:
+  Backporting e2cc16ef from upstream, Fix test suite on Linux/s390x
+  and maybe other architectures.
+- Drop wxWidgets-3_2-fix-building-fault-S390.patch:
+  Patch has been merged by upstream,and they did this modification
+  during accept.
+  (bsc#1217026)
+
+-------------------------------------------------------------------

Old:
----
  wxWidgets-3_2-fix-building-fault-S390.patch

New:
----
  wxWidgets-3_2-Fix-test-suite-on-Linux-s390x-architectures.patch

BETA DEBUG BEGIN:
  Old:  and maybe other architectures.
- Drop wxWidgets-3_2-fix-building-fault-S390.patch:
  Patch has been merged by upstream,and they did this modification
BETA DEBUG END:

BETA DEBUG BEGIN:
  New:
- Add wxWidgets-3_2-Fix-test-suite-on-Linux-s390x-architectures.patch:
  Backporting e2cc16ef from upstream, Fix test suite on Linux/s390x
BETA DEBUG END:

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

Other differences:
------------------
++++++ wxWidgets-3_2.spec ++++++
--- /var/tmp/diff_new_pack.MRsGm1/_old  2024-01-26 22:45:49.189068936 +0100
+++ /var/tmp/diff_new_pack.MRsGm1/_new  2024-01-26 22:45:49.193069081 +0100
@@ -82,7 +82,7 @@
 Source6:        wxpython-mkdiff.sh
 Patch0:         soversion.diff
 Patch1:         autoconf-2_72.diff
-Patch2:         wxWidgets-3_2-fix-building-fault-S390.patch
+Patch2:         wxWidgets-3_2-Fix-test-suite-on-Linux-s390x-architectures.patch
 %if "%{flavor}" == "doc"
 BuildRequires:  doxygen
 BuildRequires:  fdupes

++++++ wxWidgets-3_2-Fix-test-suite-on-Linux-s390x-architectures.patch ++++++
commit e2cc16ef9c45bdc64d42e4fef4dda46a3077cb35
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date:   Tue Jan 9 02:38:43 2024 +0100

    Fix test suite on Linux/s390x and maybe other architectures
    
    We can't rely on file /sys/power/state always existing, so just skip the
    test (with a warning) instead of failing it if it does not exist, as is
    the case at least under s390x and seemingly other non-desktop platforms.
    
    Closes #24197.
    
    Co-authored-by: Cliff Zhao <qz...@suse.com>

diff -Nura wxWidgets-3.2.4/tests/file/filetest.cpp 
wxWidgets-3.2.4_new/tests/file/filetest.cpp
--- wxWidgets-3.2.4/tests/file/filetest.cpp     2023-11-09 06:53:55.000000000 
+0800
+++ wxWidgets-3.2.4_new/tests/file/filetest.cpp 2024-01-24 17:12:00.649890837 
+0800
@@ -158,8 +158,13 @@
     const long pageSize = sysconf(_SC_PAGESIZE);
 
     wxFile fileSys("/sys/power/state");
+    if ( !fileSys.IsOpened() )
+    {
+        WARN("/sys/power/state can't be opened, skipping test");
+        return;
+    }
+
     CHECK( fileSys.Length() == pageSize );
-    CHECK( fileSys.IsOpened() );
     CHECK( fileSys.ReadAll(&s) );
     CHECK( !s.empty() );
     CHECK( s.length() < pageSize );
diff -Nura wxWidgets-3.2.4/tests/filename/filenametest.cpp 
wxWidgets-3.2.4_new/tests/filename/filenametest.cpp
--- wxWidgets-3.2.4/tests/filename/filenametest.cpp     2023-11-09 
06:53:55.000000000 +0800
+++ wxWidgets-3.2.4_new/tests/filename/filenametest.cpp 2024-01-24 
17:13:36.039991014 +0800
@@ -1040,6 +1040,12 @@
     INFO( "size of /proc/kcore=" << size );
     CHECK( size > 0 );
 
+    if ( !wxFile::Exists("/sys/power/state") )
+    {
+        WARN("/sys/power/state doesn't exist, skipping test");
+        return;
+    }
+
     // All files in /sys are one page in size, irrespectively of the size of
     // their actual contents.
     CHECK( wxFileName::GetSize("/sys/power/state") == sysconf(_SC_PAGESIZE) );
diff -Nura wxWidgets-3.2.4/tests/textfile/textfiletest.cpp 
wxWidgets-3.2.4_new/tests/textfile/textfiletest.cpp
--- wxWidgets-3.2.4/tests/textfile/textfiletest.cpp     2023-11-09 
06:53:55.000000000 +0800
+++ wxWidgets-3.2.4_new/tests/textfile/textfiletest.cpp 2024-01-24 
17:15:03.777002930 +0800
@@ -344,12 +344,18 @@
     SECTION("/proc")
     {
         wxTextFile f;
-        CHECK( f.Open("/proc/cpuinfo") );
+        REQUIRE( f.Open("/proc/cpuinfo") );
         CHECK( f.GetLineCount() > 1 );
     }
 
     SECTION("/sys")
     {
+        if ( wxFile::Exists("/sys/power/state") )
+        {
+            WARN("/sys/power/state doesn't exist, skipping test");
+            return;
+        }
+
         wxTextFile f;
         CHECK( f.Open("/sys/power/state") );
         REQUIRE( f.GetLineCount() == 1 );

Reply via email to