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

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