From 90d09bcb8523d1561dadf7b7e416645057d0bb27 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Tue, 10 Mar 2020 23:46:37 -0400 Subject: [PATCH] adjust make test options The make test call was changed to use %make_build in d34bc42 (Use make_build macro when running tests, 2020-01-14) in order to allow the options to be more easily overridden. This enabled the -O option by default, which causes the test output to be printed only after all the tests have run. That makes following the progress in both interactive and copr/koji builds difficult. Replace %make_build with %__make to drop the unwanted -O option but still allow the make command to be overridden. --- git.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git.spec b/git.spec index 120772c..b183caf 100644 --- a/git.spec +++ b/git.spec @@ -876,7 +876,7 @@ sed -i "s@\(GIT_TEST_OPTS='.*\)'@\1 --root=$testdir'@" GIT-BUILD-OPTIONS touch -r ts GIT-BUILD-OPTIONS # Run the tests -%make_build test || ./print-failed-test-output +%__make test || ./print-failed-test-output # Run contrib/credential/netrc tests mkdir -p contrib/credential @@ -1049,6 +1049,7 @@ rmdir --ignore-fail-on-non-empty "$testdir" %changelog * Tue Mar 10 2020 Todd Zullinger - 2.26.0-0.1.rc1 - update to 2.26.0-rc1 +- adjust make test options * Fri Mar 06 2020 Todd Zullinger - 2.26.0-0.0.rc0 - update to 2.26.0-rc0