~ chicken-core (chicken-5) c8b0c723d98012a2c68f5996e29f759af6986ccc


commit c8b0c723d98012a2c68f5996e29f759af6986ccc
Author:     Peter Bex <peter@more-magic.net>
AuthorDate: Sat Dec 2 15:51:13 2017 +0100
Commit:     Peter Bex <peter@more-magic.net>
CommitDate: Sat Dec 2 15:51:13 2017 +0100

    Fix csc-tests so we can run them without installing first
    
    Without this change, we'd be running the wrong compiler!

diff --git a/tests/csc-tests.scm b/tests/csc-tests.scm
index 52673407..b97e8354 100644
--- a/tests/csc-tests.scm
+++ b/tests/csc-tests.scm
@@ -7,7 +7,7 @@
 
 (define (abs x) (make-pathname (current-directory) x))
 (define (run x . args) (system* (string-intersperse (cons (abs x) args))))
-(define (csc . args) (apply run "../csc" "-v" args))
+(define (csc . args) (apply run "../csc" "-v" "-compiler ../chicken" "-I.." args))
 
 (csc "null.scm" "-t")
 (assert (file-exists? "null.c"))
Trap