Run optimizer tests in a throw-away namespace to reduce memory usage.
This commit is contained in:
parent
32a8da58cb
commit
d9451ef4ab
|
@ -42,9 +42,10 @@
|
||||||
(let ((log-string
|
(let ((log-string
|
||||||
(with-output-to-string
|
(with-output-to-string
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(dynamic-require (build-path (current-load-relative-directory)
|
(parameterize ([current-namespace (make-base-empty-namespace)])
|
||||||
name)
|
(dynamic-require (build-path (current-load-relative-directory)
|
||||||
#f)))))
|
name)
|
||||||
|
#f))))))
|
||||||
;; have the log as an sexp, since that's what the expected log is
|
;; have the log as an sexp, since that's what the expected log is
|
||||||
(with-input-from-string (string-append "(" log-string ")")
|
(with-input-from-string (string-append "(" log-string ")")
|
||||||
read))))
|
read))))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user