mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Redirect install output of make check into a log file
dbf2ec1a changed make check so that the installation logs get directed to stdout and stderr. Per discussion on -hackers, this patch restores saving it to a file. It is now saved in /tmp_install/log, which is created once per invocation of any make target doing regression tests. Along the way, add a missing /log/ entry to test_ddl_deparse's .gitignore. Michael Paquier.
This commit is contained in:
parent
766dcfb16c
commit
16c33c50e1
@ -307,9 +307,10 @@ temp-install:
|
|||||||
ifndef NO_TEMP_INSTALL
|
ifndef NO_TEMP_INSTALL
|
||||||
ifeq ($(MAKELEVEL),0)
|
ifeq ($(MAKELEVEL),0)
|
||||||
rm -rf '$(abs_top_builddir)'/tmp_install
|
rm -rf '$(abs_top_builddir)'/tmp_install
|
||||||
$(MAKE) -C '$(top_builddir)' DESTDIR='$(abs_top_builddir)'/tmp_install install
|
$(MKDIR_P) '$(abs_top_builddir)'/tmp_install/log
|
||||||
|
$(MAKE) -C '$(top_builddir)' DESTDIR='$(abs_top_builddir)'/tmp_install install >'$(abs_top_builddir)'/tmp_install/log/install.log 2>&1
|
||||||
endif
|
endif
|
||||||
$(if $(EXTRA_INSTALL),for extra in $(EXTRA_INSTALL); do $(MAKE) -C '$(top_builddir)'/$$extra DESTDIR='$(abs_top_builddir)'/tmp_install install || exit; done)
|
$(if $(EXTRA_INSTALL),for extra in $(EXTRA_INSTALL); do $(MAKE) -C '$(top_builddir)'/$$extra DESTDIR='$(abs_top_builddir)'/tmp_install install >>'$(abs_top_builddir)'/tmp_install/log/install.log || exit; done)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PROVE = @PROVE@
|
PROVE = @PROVE@
|
||||||
|
1
src/test/modules/test_ddl_deparse/.gitignore
vendored
1
src/test/modules/test_ddl_deparse/.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
|
/log/
|
||||||
/results/
|
/results/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user