mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
build: Run `tests/guix-gc.sh' last to avoid test failures.
* Makefile.am (tests/guix-gc.log): New target. This should fix failures that occurred with "make check -j" the first time.
This commit is contained in:
parent
f7ce90e7b9
commit
3a33730a86
1 changed files with 8 additions and 0 deletions
|
@ -340,6 +340,14 @@ AM_SCM_LOG_FLAGS = --no-auto-compile -L "$(top_srcdir)"
|
|||
SH_LOG_COMPILER = $(top_builddir)/test-env $(SHELL)
|
||||
AM_SH_LOG_FLAGS = -x -e
|
||||
|
||||
# Make sure `tests/guix-gc.sh' runs last, after all the others. Otherwise it
|
||||
# could end up removing files from the store while they are being used by
|
||||
# other instances of the daemon.
|
||||
tests/guix-gc.log: \
|
||||
$(patsubst %.sh,%.log,$(filter-out tests/guix-gc.sh,$(SH_TESTS))) \
|
||||
$(SCM_TESTS:%.scm=%.log)
|
||||
|
||||
|
||||
EXTRA_DIST = \
|
||||
HACKING \
|
||||
ROADMAP \
|
||||
|
|
Loading…
Reference in a new issue