Fail build if testsuite fails. Make one glob succeed.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/weston?expand=0&rev=29
This commit is contained in:
Jan Engelhardt 2014-07-22 14:41:31 +00:00 committed by Git OBS Bridge
parent 8259bf5e01
commit 7a6abf037c

View File

@ -118,13 +118,14 @@ export XDG_RUNTIME_DIR="$HOME/xdgrun"
mkdir -pm go-rwx "$XDG_RUNTIME_DIR" mkdir -pm go-rwx "$XDG_RUNTIME_DIR"
if ! make BACKEND=headless-backend.so check; then if ! make BACKEND=headless-backend.so check; then
cat test-suite.log cat test-suite.log
exit 1
fi fi
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING README %doc COPYING README
%_bindir/wcap-* %_bindir/wcap-*
%_bindir/%name* %_bindir/%{name}*
%_libexecdir/%name-* %_libexecdir/%name-*
%_libdir/%name/ %_libdir/%name/
%_datadir/%name/ %_datadir/%name/