From 7a6abf037c5aebc7933d02a748fcda4bc3ede92c905f6415d3a5c9c45528e2d4 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 22 Jul 2014 14:41:31 +0000 Subject: [PATCH] Fail build if testsuite fails. Make one glob succeed. OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/weston?expand=0&rev=29 --- weston.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/weston.spec b/weston.spec index d0e601c..cfe0851 100644 --- a/weston.spec +++ b/weston.spec @@ -118,13 +118,14 @@ export XDG_RUNTIME_DIR="$HOME/xdgrun" mkdir -pm go-rwx "$XDG_RUNTIME_DIR" if ! make BACKEND=headless-backend.so check; then cat test-suite.log + exit 1 fi %files %defattr(-,root,root) %doc COPYING README %_bindir/wcap-* -%_bindir/%name* +%_bindir/%{name}* %_libexecdir/%name-* %_libdir/%name/ %_datadir/%name/