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.
This commit is contained in:
parent
edfc06e983
commit
90d09bcb85
3
git.spec
3
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 <tmz@pobox.com> - 2.26.0-0.1.rc1
|
||||
- update to 2.26.0-rc1
|
||||
- adjust make test options
|
||||
|
||||
* Fri Mar 06 2020 Todd Zullinger <tmz@pobox.com> - 2.26.0-0.0.rc0
|
||||
- update to 2.26.0-rc0
|
||||
|
Loading…
Reference in New Issue
Block a user