guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 49cf2d4874e5544a36debea1cf0c872a9d61d174
Author: Jelle Licht <[email protected]>
AuthorDate: Thu Oct 15 14:28:10 2026 +0200
tests: Run tests/store.scm after the other tests.
The 'verify-store' tests removed paths that other tests were adding from the
database which made those tests fail.
* Makefile.am (tests/store.log): New rule.
---
Makefile.am | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index c91b036e5c0..444e3bf2d33 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -711,6 +711,10 @@ AM_SH_LOG_FLAGS = -x -e
# other instances of the daemon. Only depend on the tests being run.
tests/guix-gc.log: $(filter-out tests/guix-gc.log,$(TEST_LOGS))
+# Likewise, 'verify-store' in `tests/store.scm' removes paths being added by
+# other tests from the database. Run it right before `tests/guix-gc.sh'.
+tests/store.log: $(filter-out tests/guix-gc.log tests/store.log,$(TEST_LOGS))
+
else !CAN_RUN_TESTS
TESTS =