Exclude directories when testing TR's optimizer.

This commit is contained in:
Vincent St-Amour 2010-08-26 17:38:57 -04:00
parent 63530ed74d
commit eadc2a7e4c

View File

@ -26,6 +26,7 @@
(define (test gen)
(let-values (((base name _) (split-path gen)))
(or (regexp-match ".*~" name) ; we ignore backup files
(directory-exists? gen) ; and directories
;; machine optimized and hand optimized versions must expand to the
;; same code
(and (or (equal? (parameterize ([current-load-relative-directory