Fixing test finding
This commit is contained in:
parent
e8d581db0d
commit
306e67f3ab
|
@ -1,9 +1,11 @@
|
|||
#lang racket
|
||||
(require racket/runtime-path tests/eli-tester)
|
||||
(define-runtime-path here ".")
|
||||
(define this-file (build-path "run-all.rkt"))
|
||||
|
||||
(test
|
||||
(for ([p (in-list (directory-list here))]
|
||||
#:when (not (equal? this-file p)))
|
||||
(dynamic-require (build-path here p) #f)))
|
||||
(for ([p (in-list (directory-list here))])
|
||||
(define s (path->string p))
|
||||
(when (regexp-match #rx"rkt$" s)
|
||||
(unless (or (string=? "compiled" s)
|
||||
(string=? "run-all.rkt" s))
|
||||
(dynamic-require (build-path here p) #f)))))
|
Loading…
Reference in New Issue
Block a user