fixed breaking absolute paths
This commit is contained in:
parent
b9a286f3ad
commit
4c82d2b92b
|
@ -19,7 +19,10 @@
|
||||||
(define (test-files! . paths)
|
(define (test-files! . paths)
|
||||||
(clear-coverage!)
|
(clear-coverage!)
|
||||||
(for ([path paths])
|
(for ([path paths])
|
||||||
(define p (path->string (simplify-path (build-path (current-directory) path))))
|
(define p
|
||||||
|
(if (absolute-path? path)
|
||||||
|
path
|
||||||
|
(path->string (simplify-path (build-path (current-directory) path)))))
|
||||||
(let loop ()
|
(let loop ()
|
||||||
(define-values (loc type) (get-module-path (build-path p)))
|
(define-values (loc type) (get-module-path (build-path p)))
|
||||||
(case type
|
(case type
|
||||||
|
|
Loading…
Reference in New Issue
Block a user