[packages/mutter] add tests bcond (disabled by default); rel 2

atler atler at pld-linux.org
Sat Dec 14 18:03:59 CET 2019


commit a1856478af19ad6c5d497ad469c0ab6c687046aa
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Dec 14 18:02:11 2019 +0100

    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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mutter.git/commitdiff/a1856478af19ad6c5d497ad469c0ab6c687046aa



More information about the pld-cvs-commit mailing list