guix_mirror_bot pushed a commit to branch master
in repository guix.

commit e290d79680750177bf5226ef7295cca0477720d1
Author: Jelle Licht <[email protected]>
AuthorDate: Thu Oct 15 14:28:10 2026 +0200

    tests: Only order tests/guix-gc.sh after the tests being run.
    
    'make check TESTS=tests/guix-gc.sh' ran the whole test suite.
    
    * Makefile.am (tests/guix-gc.log): Depend on $(TEST_LOGS) only.
---
 Makefile.am | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 1eb8240da1a..c91b036e5c0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -708,10 +708,8 @@ 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)
+# other instances of the daemon.  Only depend on the tests being run.
+tests/guix-gc.log: $(filter-out tests/guix-gc.log,$(TEST_LOGS))
 
 else !CAN_RUN_TESTS
 

Reply via email to