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