From a1856478af19ad6c5d497ad469c0ab6c687046aa Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Sat, 14 Dec 2019 18:02:11 +0100 Subject: [PATCH] add tests bcond (disabled by default); rel 2 on builders /dev/stdout is considered input when tests are enabled and ninja goes into infinite loop since /dev/stdout is always newer than build.ninja --- mutter.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mutter.spec b/mutter.spec index 3251937..79c566c 100644 --- a/mutter.spec +++ b/mutter.spec @@ -2,12 +2,13 @@ # Conditional build %bcond_without pipewire # remote desktop via pipewire %bcond_with sysprof # build with tracing support +%bcond_with tests # run tests (causes infinite loop on builders) Summary: Window and compositing manager based on Clutter Summary(pl.UTF-8): Zarządca okien i składania oparty na bibliotece Clutter Name: mutter Version: 3.34.2 -Release: 1 +Release: 2 License: GPL v2+ Group: X11/Window Managers Source0: http://ftp.gnome.org/pub/GNOME/sources/mutter/3.34/%{name}-%{version}.tar.xz @@ -176,6 +177,7 @@ Mutter. -Dinstalled_tests=false \ -Dprofiler=%{__true_false sysprof} \ %{!?with_pipewire:-Dremote_desktop=false} \ + -Dtests=%{__true_false tests} \ -Dxwayland_path=/usr/bin/Xwayland %ninja_build -C build -- 2.44.0