~ chicken-core (chicken-5) c571cff9a2b57080de4503536d38b44e154400e2


commit c571cff9a2b57080de4503536d38b44e154400e2
Author:     Peter Bex <peter@codeyellow.nl>
AuthorDate: Thu Jun 21 18:11:10 2018 +0200
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Thu Jun 21 21:48:31 2018 +0200

    Always fetch tests when retrieving eggs to avoid caching issues
    
    When chicken-install retrieves an egg without tests, and later you
    want to install and run the tests, it will act like there are no tests
    because it uses the cached dir as if it contained the entire egg.
    
    This fixes #1477
    
    Signed-off-by: felix <felix@call-with-current-continuation.org>

diff --git a/chicken-install.scm b/chicken-install.scm
index 9fa22aec..cc7bb33a 100644
--- a/chicken-install.scm
+++ b/chicken-install.scm
@@ -468,7 +468,7 @@
                        (try-download name (resolve-location (car srvs))
                                      version: version 
                                      destination: tmpdir
-                                     tests: run-tests 
+                                     tests: #t ;; Always fetch tests, otherwise cached eggs can't be tested later
                                      proxy-host: proxy-host
                                      proxy-port: proxy-port 
                                      proxy-user-pass: proxy-user-pass)
Trap