forked from pool/wxWidgets-3_2
Accepting request 1195015 from X11:wxWidgets
- Add textfiletest-fix-file-exists.diff to fix a wrong skip condition in the test (fixes the build on s390x) OBS-URL: https://build.opensuse.org/request/show/1195015 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wxWidgets-3_2?expand=0&rev=28
This commit is contained in:
commit
5b192f2169
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
mtime: 1724222971
|
||||
commit: 96fa1f90786bdfcd1066e09e103da11d7b6e96d1ed56f0d708e3690fd5c7b733
|
||||
url: https://src.opensuse.org/jengelh/wxWidgets-3_2
|
||||
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:48d51243ad79928cd8ddbb40834759ce5acb6a5238dd6e89546f9f8609e8c3d3
|
||||
size 256
|
29
textfiletest-fix-file-exists.diff
Normal file
29
textfiletest-fix-file-exists.diff
Normal file
@ -0,0 +1,29 @@
|
||||
https://github.com/wxWidgets/wxWidgets/pull/24768
|
||||
|
||||
|
||||
From 2d943fd8f34816b3ad16b532132992a2523179e2 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Boltz <github-wxwidgets@cboltz.de>
|
||||
Date: Tue, 20 Aug 2024 23:28:27 +0200
|
||||
Subject: [PATCH] textfiletest: fix skip condition
|
||||
|
||||
... so that condition and skip message match.
|
||||
|
||||
As a side effect, it also prevents a test failure if /sys/power/state
|
||||
doesn't exist.
|
||||
---
|
||||
tests/textfile/textfiletest.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/textfile/textfiletest.cpp b/tests/textfile/textfiletest.cpp
|
||||
index 646d6818c90c..1a1347e85475 100644
|
||||
--- a/tests/textfile/textfiletest.cpp
|
||||
+++ b/tests/textfile/textfiletest.cpp
|
||||
@@ -342,7 +342,7 @@ TEST_CASE("wxTextFile::Special", "[textfile][linux][special-file]")
|
||||
|
||||
SECTION("/sys")
|
||||
{
|
||||
- if ( wxFile::Exists("/sys/power/state") )
|
||||
+ if ( !wxFile::Exists("/sys/power/state") )
|
||||
{
|
||||
WARN("/sys/power/state doesn't exist, skipping test");
|
||||
return;
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 20 19:05:50 UTC 2024 - Christian Boltz <suse-beta@cboltz.de>
|
||||
|
||||
- Add textfiletest-fix-file-exists.diff to fix a wrong skip
|
||||
condition in the test (fixes the build on s390x)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 16 13:40:01 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -82,6 +82,7 @@ Source5: wxWidgets-3_2-rpmlintrc
|
||||
Source6: wxpython-mkdiff.sh
|
||||
Patch0: soversion.diff
|
||||
Patch1: autoconf-2_72.diff
|
||||
Patch2: textfiletest-fix-file-exists.diff
|
||||
%if "%{flavor}" == "doc"
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
|
Loading…
Reference in New Issue
Block a user