try to fix module-caching test

This commit is contained in:
Matthew Flatt 2014-09-05 15:08:46 -06:00
parent cd17e08f12
commit 3e8ef82c55

View File

@ -1237,7 +1237,8 @@
#:exists 'truncate
(lambda (o)
(write-bytes bstr o)))
(parameterize ([current-namespace (make-base-namespace)]
(define first-namespace (make-base-namespace))
(parameterize ([current-namespace first-namespace]
[current-module-declare-name (make-resolved-module-path tmx)]
[current-load-relative-directory dir])
(eval (parameterize ([read-accept-compiled #t])