Blame SOURCES/0043-Make-it-possible-to-run-test.sh-verbose-from-the-mak.patch

903092
From 956c9b804607d1a43183514e8a18d671ab14d2fa Mon Sep 17 00:00:00 2001
903092
From: Peter Jones <pjones@redhat.com>
903092
Date: Thu, 6 Aug 2015 10:06:13 -0400
903092
Subject: [PATCH 1/3] Make it possible to run "test.sh --verbose" from the make
903092
 command line.
903092
903092
Signed-off-by: Peter Jones <pjones@redhat.com>
903092
---
903092
 Makefile | 6 +++++-
903092
 1 file changed, 5 insertions(+), 1 deletion(-)
903092
903092
diff --git a/Makefile b/Makefile
903092
index 94cef27..e021f35 100644
903092
--- a/Makefile
903092
+++ b/Makefile
903092
@@ -26,6 +26,10 @@ CC = gcc
903092
 RPM_OPT_FLAGS ?= -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
903092
 CFLAGS += $(RPM_OPT_FLAGS) -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb
903092
 LDFLAGS := 
903092
+VERBOSE_TEST :=
903092
+ifneq ($(VERBOSE_TEST),)
903092
+	VERBOSE_TEST="--verbose"
903092
+endif
903092
 
903092
 grubby_LIBS = -lblkid -lpopt
903092
 
903092
@@ -39,7 +43,7 @@ debug : clean
903092
 
903092
 test: all
903092
 	@export TOPDIR=$(TOPDIR)
903092
-	@./test.sh
903092
+	@./test.sh $(VERBOSE_TEST)
903092
 
903092
 install: all
903092
 	mkdir -p $(DESTDIR)$(PREFIX)/sbin
903092
-- 
903092
2.4.3
903092