tests: Re-add debug output to a package tests.

* tests/packages.scm ("fold-available-packages with/without cache"):
Re-introduce debugging output.
This commit is contained in:
Maxim Cournoyer 2023-04-18 10:04:22 -04:00
parent 6834f24096
commit 1b0a095a81
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 3 additions and 0 deletions

View File

@ -1774,6 +1774,9 @@
;; exponential behavior.
(let ((set1 duplicates1 (list->set* from-cache))
(set2 duplicates2 (list->set* no-cache)))
;; For easier debugging.
(pk 'from-cache-duplicates: duplicates1)
(pk 'no-cache-duplicates: duplicates2)
(and (null? duplicates1) (null? duplicates2)
(every (cut set-contains? set1 <>) no-cache)
(every (cut set-contains? set2 <>) from-cache)))))