From 829060473c3b3c14eae0351497b15fea8e0679927226755af0a355c08d42c66f Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 12 Sep 2017 08:33:36 +0000 Subject: [PATCH] Accepting request 523601 from home:Andreas_Schwab:Factory - Print out testsuite results after failure OBS-URL: https://build.opensuse.org/request/show/523601 OBS-URL: https://build.opensuse.org/package/show/Base:System/make?expand=0&rev=53 --- make-library-search-path.diff | 7 +++---- make.changes | 5 +++++ make.spec | 12 ++++++++---- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/make-library-search-path.diff b/make-library-search-path.diff index b915d42..c3ef5f3 100644 --- a/make-library-search-path.diff +++ b/make-library-search-path.diff @@ -1,8 +1,7 @@ -make searches for -lmoo targets in /lib and /usr/lib after mangling -them with .LIBPATTERNS into libmoo.so - -This patch extends to teh search path to /lib64/ and /usr/lib64 +make searches for -lfoo targets in /lib and /usr/lib after mangling +them with .LIBPATTERNS into libfoo.so +This patch extends the search path to /lib64 and /usr/lib64 --- remake.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/make.changes b/make.changes index 0740b7c..3f1e910 100644 --- a/make.changes +++ b/make.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 12 08:10:12 UTC 2017 - schwab@suse.de + +- Print out testsuite results after failure + ------------------------------------------------------------------- Sun Jun 12 09:13:27 UTC 2016 - mpluskal@suse.com diff --git a/make.spec b/make.spec index 1f63cad..6ac0030 100644 --- a/make.spec +++ b/make.spec @@ -1,7 +1,7 @@ # # spec file for package make # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -46,8 +46,6 @@ The GNU make command with extensive documentation. if [ %{_lib} == lib64 ]; then %patch64 -p1 fi -# This test always fails -rm -f tests/scripts/features/output-sync %build export CFLAGS="%{optflags}" @@ -55,7 +53,13 @@ export CFLAGS="%{optflags}" make %{?_smp_mflags} %check -make %{?_smp_mflags} check +make %{?_smp_mflags} check || { + for f in tests/work/*/*.diff; do + test -f "$f" || continue + printf "++++++++++++++ %s ++++++++++++++\n" "${f##*/}" + cat "$f" + done +} %install make %{?_smp_mflags} DESTDIR=%{buildroot} install