wayland-protocols/wayland-protocols-disable-pedantic-test-unstable-xdg-decoration-on-ppc64.patch
Bjørn Lie 3758d6ab09 Accepting request 933401 from home:cgiboudeaux:branches:X11:Wayland
- Update to 1.24
  * This release adds feedback to the DMA buffer protocol
  * tests: allow cross-compiling the tests
  * tests: check whether -Wl,--unresolved-symbols=ignore-all is
    supported
  * meson.build: wayland-scanner is only needed for tests
  * Improve tiled_* enum summary
- Rebase wayland-protocols-disable-pedantic-test-unstable-xdg-decoration-on-ppc64.patch

OBS-URL: https://build.opensuse.org/request/show/933401
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/wayland-protocols?expand=0&rev=54
2021-11-24 08:56:32 +00:00

28 lines
986 B
Diff

diff --git a/tests/meson.build b/tests/meson.build
index 5439239..cbb147c 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -7,6 +7,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)
@@ -113,7 +115,12 @@ foreach protocol_file : protocol_files
'-Werror' ],
install: false,
)
- 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')