wayland-protocols/wayland-protocols-disable-pedantic-test-unstable-xdg-decoration-on-ppc64.patch
Bjørn Lie 286058becb Accepting request 929135 from home:yfjiang:branches:GNOME:STABLE:41
- Add wayland-protocols-disable-pedantic-test-unstable-xdg-decoration-on-ppc64.patch:
  Temporarily disable the unstable xdg-decoration pedantic test on
  ppc64 until the upstream issue is more clearly diagnosed:
  https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/48

OBS-URL: https://build.opensuse.org/request/show/929135
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/wayland-protocols?expand=0&rev=53
2021-11-09 15:29:27 +00:00

28 lines
1.0 KiB
Diff

Index: wayland-protocols-1.23/tests/meson.build
===================================================================
--- wayland-protocols-1.23.orig/tests/meson.build
+++ wayland-protocols-1.23/tests/meson.build
@@ -6,6 +6,8 @@ libwayland = [
dependency('wayland-server'),
]
+message('Build Machine CPU:' + build_machine.cpu_family())
+
# Check that each protocol passes through the scanner
foreach protocol_file : protocol_files
protocol_path = join_paths(wayland_protocols_srcdir, protocol_file)
@@ -111,7 +113,12 @@ foreach protocol_file : protocol_files
install: false,
native: true,
)
- test(test_name, pedantic_test_executable)
+
+ if test_name == 'test-build-pedantic-unstable_xdg_decoration_xdg_decoration_unstable_v1_xml' and build_machine.cpu_family() == 'ppc64'
+ message('Skip test-build-pedantic-unstable_xdg_decoration_xdg_decoration_unstable_v1_xml on ppc64/ppc64le')
+ else
+ test(test_name, pedantic_test_executable)
+ endif
# Check that the header
if not protocol_file.contains('xdg-foreign-unstable-v1')